Why many objects can working together?
How objects working togetherM
I want to see example code.

Answer Posted / mms zubeir

Don't answer some useless sentences that you know at most,
I am referring the previous answer...

And, please write questions in a cleaner way...

Somehow, I got your question. This needs a long answer if
you need explaination with samples. However, I would try to
brief in a couple of sentences.

A system is comprising of a set of objects which are
interrelated. In C++ / OOAD terms, there are number of ways
to achieve this, for example, association, containment,
aggregation, dependency, realization,...etc in OOAD terms.
In C++ terms, it could be through inheritance,
polymorphism, inner classes, containment, etc.

Hurrah! I believe you can write samples now - right?

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class and object in oops?

612


What is pointer in oop?

539


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1896


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1643


How many human genes are polymorphic?

575






What are the benefits of oop?

607


How oops is better than procedural?

589


State what is encapsulation and friend function?

699


How do you define social class?

601


What are classes oop?

598


How is class defined?

588


What is the difference between a mixin and inheritance?

523


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1418


Why oops is important?

615


What is the difference between abstraction and polymorphism?

618