04-29-2011, 07:20 AM
Explain the difference between state and attribute ?
|
Explain the difference between state and attribute in c++ 2011
|
|
04-29-2011, 07:20 AM
Explain the difference between state and attribute ?
04-29-2011, 07:21 AM
Person is a class and Ali is an object of that class has unique ID by its name, some characteristics like age, qualification, color etc…..also Ali has some behavior like eat(), playing() etc……
So, here we can say that Ali is a good candidate for being an object. Now, lets come to the question…..Ali has an attribute”age” as said above. The value of this attribute like “25” is the state of this attribute. 0300-9520262 Get solution in 24 hour |cpmputer & internet mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
|
|
« Next Oldest | Next Newest »
|