English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

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.

2006-11-15 17:23:25 · answer #1 · answered by manoj Ransing 3 · 0 0

swathi
iam santhosh
from
India
u will find answer from above question
www.programmingincpp.com
Bye

2006-11-15 17:46:33 · answer #2 · answered by santhosh_lucky 1 · 0 0

http://www.libertyassociates.com/pages/column3.htm

2006-11-15 17:03:33 · answer #3 · answered by Adeel I 3 · 0 0

fedest.com, questions and answers