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 |
can you give real time example for polymarphism
Why is there no multiple inheritance?
When you define a integer it gets stored in which data structure?(Stack or a heap)
What is the importance of oop?
Write 7 differences between "Public" function and "Private" function?
What is variable example?
Can destructor be overloaded?
how does a main() in C++ is different from main() in C?
How Do you Code Composition and Aggregation in C++ ?
What is the expansion of OOPS?
what is the sylabus for priliminaries?
What is difference between pop and oop?