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!! :)
Answer:
A. Islam
Explanation:
Extensive trade routes brought the people of Ghana into contact with people of many cultures and beliefs.As the kingdom of Ghana extended into the Sahara, increased contact Arab traders from the east brought the religion of Islam to Ghana
The Virginia Company refers collectively to two joint-stock companies chartered under James I on April 10, 1606 with the goal of establishing settlements on the coast of North America.
It's called Robonaut and it works on the ISS (International Space Station).
Hello There!
<span>Clinical psychologists have a phd or a psyd, which qualifies them to assess, diagnose, and treat psychological disorders, but they usually do not prescribe medication.
</span>
Hope This Helps You!
Good Luck :)
- Hannah ❤