Question: what is the difference between is a and has a relationship?
Answer: An IS-A relationship is inheritance. The classes which inherit are known as sub classes or child classes. On the other hand, HAS-A relationship is composition. ... This means, that the child class is a type of parent class.