What is difference b/w Inheritance & aggregation? And Also b/w Aggregation and Composition in C+
With examples plz?
What is difference b/w Inheritance & aggregation? And Also b/w Aggregation and Composition in C++?c++ operator
Inheritance means you are making the child, aggregation is you are inlcuding it inside.
consider
class A
{
}
class B :: class A
{
}
This is inheritance. class N has inherited properties from class A.
while,
class B
{
class A classa;
}
This is aggregation as class A is now included in class B.
What is difference b/w Inheritance & aggregation? And Also b/w Aggregation and Composition in C++?c++ download
http://www.libertyassociates.com/pages/c...|||swathi
iam santhosh
from
India
u will find answer from above question
www.programmingincpp.com
Bye
More Related Questions and Answers ...
The information post by website user , we not guarantee correctness.
Dental Treatment Skin Whitening Skin Problems Skin Rashes Shoes
