I wanted to ask how aggregation between same class is not a composition?? Example:
public class Person {
private Person supervisor;
}
So here a person has a supervisor.
How this is considered as Aggregation, knowing that if I deleted Person supervisor will be deleted too.
Any explanations?