With aggregation we create a new class, which is composed of existing classes. With inheritance we create a new class, which is based on existing class, with some modifications . subclasses.
Read moreWith aggregation we create a new class, which is composed of existing classes. With inheritance we create a new class, which is based on existing class, with some modifications . subclasses.
Read more