Have a Question?

If you have any question you can ask below or enter what you are looking for!

Tag: Difference between IS-A relationship and Has-A relationship? What is IS-A relationship

Difference between IS-A relationship and Has-A relationship.

Difference between IS-A relationship and Has-A relationship.

Difference between IS-A relationship and Has-A relationship. IS-A Relationship It is known as an inheritance The main advantage of IS-A relationship is code reusability. By using extends keyword we can implement IS-A relationship. Whatever method parent has by-default available to the child and hence on the child reference we can call . . . Read more