What is the difference between is a and has a relationship in Java?

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. 15 Eki 2018

Sizin İçin Seçtik  Is Django developer in demand?

Leave a Reply

Your email address will not be published. Required fields are marked *