OOPS in JAVA 12
Aggregation in Java
If a class have an entity reference, it is known as Aggregation. Aggregation represents HAS-A relationship.
Example: class Employee{ int id; String name; Address address; //Address is a class ... }
Example: class Employee{ int id; String name; Address address; //Address is a class ... }
About Admin
I like blogging. This is one of my blog. To provide free materials and technology tips/tricks to users. In my YouTube channel i uploaded more than 300+ videos. That all videos about technology tips and tricks.
No comments:
Post a Comment
Hai , Post your comment . (required, Bugs, Errors )