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 |
how to find the largest of given numbers in an array
Describe the difference between a Thread and a Process?
What is the expansion of OOPS?
What is a class?
32 Answers Infosys, TCS, Thylak,
What is the advantage of oop over procedural language?
why freind function takes more parameter than normal member function in c++?
What do you mean by Encapsulation?
when my application exe is running nad i don't want to create another exe what should i do
what is object oriented programming and procedure oriented programming?
What is an advantage of polymorphism?
What is the real time example of encapsulation?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?