What is aggregation in java?
The case of Aggregation is Student in School class when School shut, Student despite everything exists and afterwards can join another School or something like that. In UML documentation, a structure is signified by a filled precious stone, while conglomeration is indicated by an unfilled jewel, which shows their undeniable distinction regarding the quality of the relationship.
🔗Reference: stackoverflow.com
🔗Source: Java Interview Questions and Answers