Why is association in Java?

Association in Java defines the connection between two classes that are set up through their objects . Association manages one-to-one, one-to-many, and many-to-many relationships. … It shows how objects communicate with each other and how they use the functionality and services provided by that communicated object.

Sizin İçin Seçtik  What is inheritance How is it different from aggregation in Java?

Leave a Reply

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