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
Social psychology is best defined as the scientific study of __________.
Komok [63]
<span>Social psychology is best defined as the scientific study of  </span>"<span>social influence".
</span>

Social psychology refers to the investigation of how individuals' considerations, sentiments, and practices are affected by the genuine, envisioned, or inferred nearness of others. Social psychologists inspect factors that reason practices to unfold givenly within the sight of others. They think about conditions under which certain conduct, activities, and emotions happen.
3 0
3 years ago
Clem, a Delite Dairy salesperson, follows Edna, a salesperson for Festive Foods, a Delite competitor, as Edna visits stores to m
charle [14.2K]

Answer: wrongful interference with a business relationship

Explanation: Based on tort law, Clem's soliciting Edna's customers can cause loss of Edna's customers and the courts can order damages to compensate Edna.

8 0
3 years ago
_____, a principle of design, is the repetition or alternation of a design element in order to provide a sense of movement, flow
stiv31 [10]

Answer:

Rhythm

Explanation:

Rhythm - it is considered to be the principle of alternation of elements. it means to reuse certain elements in the design. it deals with unity, consistency.

Rhythm can be divided into three main type  

- Regular

- Flowing

- Progressive

Repetition is considered to be sense of cohesiveness between the elements in a design. it enhances the hierarchy within the design

5 0
3 years ago
Regarding the federal court system which of the following statement is false
denpristay [2]

Answer:

not sure, answer choices arnt available

3 0
3 years ago
HELP I NEED THE ANSWERS
amid [387]
1. Founded
2. Devoted
3. Benefited
4. Eventually
5. Transform
6. Innovation
5 0
3 years ago
Other questions:
  • Suppose that Torres-Porras decides to perform a second study where he will survey hunters to assess their behavior. He wrote 8 s
    12·1 answer
  • Which of these was a job that a working-class man would most likely hold?
    5·1 answer
  • Eight-year-old Orianna is figuring out that she is good at some things and bad at others. According to Erikson, if Orianna views
    5·1 answer
  • How do issues of power, wealth and morality influence growth?
    15·1 answer
  • What are 10 goods the Phoenicians traded?
    8·1 answer
  • Janie and Harry were arguing over a minor traffic accident in which Janie was involved. Harry got so angry because Janie would n
    12·1 answer
  • How did maya angelou impact us?
    7·1 answer
  • Is this statement true or false?
    12·1 answer
  • Nepal is a beautibed garden'. present you logics for call 8 ​
    6·1 answer
  • Predation increases when the population density of the prey increases is a _______ factor.
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!