1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lora16 [44]
3 years ago
7

Give an example of an IS-A (inheritance) relationship and a separate example of a HAS-A (composition) relationship within the fi

elds of either mathematics, biology, or engineering. The example should be different from one given in class. Explain why these are appropriate examples.
Social Studies
1 answer:
lord [1]3 years ago
4 0

Inheritance (is-a) relationships are derived child classes that inherit attributes and methods from their parent class. Composition (has-a) relationships are classes whose attributes are comprised of other classes. Each relationship has its advantages and disadvantages. See the link below for best uses of each.

For example:

class Animal { }

class Dog extends Animal { }

This means Dog IS-A animal

2. HAS-A simply means reference

For example:

class Nip { }

class Dog { private Nip nip;}

This means Dog HAS-A Nip

Hope this helped!! :)

You might be interested in
A poll is being conducted at a video game store nothingto obtain a sample of the population of an entire country. What is the fr
lbvjy [14]

Answer:

B. The frame is people who play video games

Explanation:

into a survey  it its neccesary to delimit  people according to the subject of the survey in order to get representative dates of the population, for that reason if the survey want to show  the quantity of people who  buy video games in a national scale, the frame of that study is people who play video games, in this order of ideas, people who don't play videogames, don't like videogames and don't have the adquisitive power to buy video games would be excluded from the survey, however, if the pollster doesn't take into account the previous affirmations, the survey won't be conclusive, reaslistic and useless for showing the quantity  people who buy video games in the game store.

5 0
3 years ago
Jurors who have been the victim of the same crime the defendant is charged with would likely be excused by what type of request?
Aleonysh [2.5K]

Answer:

challenge for cause

Explanation: test

5 0
3 years ago
A. What stopped Anna Frank Frank and her family from leaving the Netherlands, before it was invaded ?
almond37 [142]

Answer:

check explanation

Explanation:

SORRY! I COULDN'T FIND A, SOMEONE ELSE COULD! BEST OF LUCK :)

B. Anne Frank received her first red checked diary. A similar diary was laid on the table alongside her other gifts, a blue blouse, cold cream, and a book.

C. Anne Frank and her family were sent to the Auschwitz-Birkenau extermination and concentration camp complex in German-occupied Poland.

5 0
3 years ago
Read 2 more answers
The kinetic energy in joules of a 50-kilogram runner running at meters per second is modeled by the equation
Jobisdone [24]

Answer:

25v²

Explanation:

The kinetic energy in joules of a 50-kilogram runner running at v meters per second is modeled by the equation

Solution:

Kinetic energy is the energy of a body due to its motion. The kinetic energy of a body is maintained until there is a change in velocity. Kinetic energy can also be defined as the work done in accelerating a body from rest to a specified velocity. The SI unit is in Joules (J)

The formula for kinetic energy is:

K.E = (1/2)mv²

where m is the mass of the object and v is the velocity of the object.

Given that m = 50 kg and v = v, hence:

K.E = (1/2) * 50 * v² = 25v²

K.E = 25v²

8 0
3 years ago
Sapir maintains close bonds with her family because she was taught that this is the proper way for people in her family to behav
Arte-miy333 [17]

The correct answer is social theory

Social theory is the best structure we have for  think about these relationships.

Social theorists, therefore, ask the big questions  and return to them repeatedly, in different ways, in successive generations. The history of social theory comes closer  of the history of philosophy than of a history of science, presenting it as a succession of “discoveries”.

7 0
3 years ago
Other questions:
  • Zuzu went to the doctor’s office and sat directly beside the only other person in the office, even though there were multiple em
    9·1 answer
  • What tool would a government most likely use to restict imports based on health and safety concerns?
    9·1 answer
  • The experience of being a member of a cultural minority while surrounded by
    5·1 answer
  • Compare and contrast tidewater and piedmont farmers
    8·1 answer
  • Why was the frankish king named Charlemange
    9·2 answers
  • Nora,a single mom,needs to ask her parents for money.To minimize the probability that they will object to her request,she should
    5·1 answer
  • Which conquistador reached the Arkansas River
    12·1 answer
  • What is significant about the Treaty of Ghent?
    5·1 answer
  • 3b. What limits do wring from American civilizaons before Spanish contact on American civilizaons pre-1600 have as historical so
    8·1 answer
  • Seventeenth century philosophers and scientists argued that like clocks and the universe, ____ are regular, predictable, observa
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!