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
Telitha notices that a coworker always undercharges her friends when they make purchases at the shop. Telitha is worried that if
Airida [17]

This question is incomplete because the options are missing. Here are the options.

A. Bullying

B. Workplace Harassment

C. The MUM effect

D. A hostile work environment

Telitha notices that a coworker always undercharges her friends when they make purchases at the shop. Telitha is worried that if she reports this coworker, everyone will think she's a snitch. This is an example of the MUM effect.

The MUM Effect (Minimizing Unpleasant Message) is a term to refer to the human tendency to avoid or hide the communication of negative information or unpleasant news. This trend is because people believe that communicating negative information will affect their public image. In addition, they are emotionally affected.

Therefore, Telitha is concerned about reporting to her partner because this can affect her social image, and she can be seen as a snitch. So the answer is C.

Also, this is not an example of hostility, bullying or harassment because this worker is not being attacked by others.

Learn more in: brainly.com/question/16293877

7 0
3 years ago
How Can the Oil-Rich Help the Oil-Poor
lubasha [3.4K]
The oil-rich countries can help the poor oil ones in many ways, the reality of the world has shown how some countries like Saudi Arabia and Venezuela that are oil-rich countries have helped countries like Argentina, Haiti, Peru, Bolivia, Pakistan , Jamaica, among others; the oil bonanza has helped dozens of other countries to build houses, roads, improve electrical systems,reduce deseases, improve their economy, cancel external debts, etc., oil is a resource with multiple derivatives, which they haven´t been able to be replaced in its entirety, and although it is a resource owned by the country where it is located, these, in some opportunities have benefited other poorer nations with it.
3 0
4 years ago
What is one way a sociologist would likely guide a woman who aspires to be a senior executive
Snowcat [4.5K]

The correct answer is D) recommend that she studies HUman Resources Management.

<em>One way a sociologist would likely guide a woman who aspires to be Senior Executive is to what is one way a sociologist would likely guide a woman who aspires to be a senior executive.</em>

The sociologist, with its expertise in human relations and how humans behave socially, can really guide the woman by recommending to study human resources to understand from the very beginning the importance of the people´s conduct in society and in the workplace, where the conduct and the response of people are very important to have good working conditions and productivity. This way, the woman can grow in any company until she reaches the desire Senior Executive position.

8 0
4 years ago
Who founded the Know-Nothing Party?
OverLord2011 [107]

Answer: Irish and Roman Catholic immigrants

Explanation:

8 0
2 years ago
Read 2 more answers
Most Presidents are in favor of the line-item veto because it gives them more power over _____.
Nezavi [6.7K]
Executive authority to nullify or cancel provisions of a bill
4 0
3 years ago
Other questions:
  • Which of the following statements describes the mayan writing system
    6·1 answer
  • Does Marshall’s ruling support the argument that the Supreme Court alone—and not other branches of the national government—have
    10·1 answer
  • Why did Great Britain raise taxes on the American colonists after 1763
    14·2 answers
  • Is the number of people living in a square mile. In the future, economically developed nations may
    7·1 answer
  • In which sentence does the author make an appeal to emotion?(1 point)Shouldn't that determination be rewarded?Not only that, but
    13·1 answer
  • Opinion change resulting from a thoughtful focus on the content of arguments illustrates a. central route persuasion.b. normativ
    9·1 answer
  • What contributions did thutmose lll make
    5·1 answer
  • What impact does mixed migration have on migrants?
    6·1 answer
  • In what order does Sr., Jr., III, IV, and so on go?
    9·1 answer
  • Which kind of license is a legal agreement that permits users to install the software on multiple computers, usually at a volume
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!