what is main different between aggregation and implementation 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
...
}