Why many objects can working together?
How objects working togetherM
I want to see example code.
Answers were Sorted based on User's Feedback
Answer / 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 |
What is difference between inheritance and polymorphism?
How do you define a class in oop?
Why is oop better than procedural?
what is SPL in c++.
How to use CMutex, CSemaphore in VC++ MFC
How is data security provided in Object Oriented languages? ?
When is it necessary to use member-wise initialization list in C++?
What is solid in oops?
What is public, protected, private?
Why u change company?
Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
Why and when is a virtual destructor needed?