association and aggregation in java code example
Example: how to implement aggregation in java
class Employee {
int id;
String name;
Address address;//Address is a class
...
}
class Employee {
int id;
String name;
Address address;//Address is a class
...
}