What do you mean by composition in Java?

The composition is a design technique in java to implement a has-a relationship . Java Inheritance is used for code reuse purposes and the same we can do by using composition. The composition is achieved by using an instance variable that refers to other objects.29 Eyl 2021

Sizin İçin Seçtik  Is Django full stack or backend?

Leave a Reply

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

What do you mean by composition in Java?

The composition is a design technique in java to implement a has-a relationship . Java Inheritance is used for code reuse purposes and the same we can do by using composition. The composition is achieved by using an instance variable that refers to other objects.29 Eyl 2021

Sizin İçin Seçtik  Duygu his eş anlamlı mı zıt anlamlı mı?

Leave a Reply

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