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
what's the basic's in dot net
Can we define a class within the interface?
What type of loop is a for loop?
What is the difference between abstraction and polymorphism?
What is encapsulation selenium?
c++ program to swap the objects of two different classes
What is the renewal class?
#include
How do you explain polymorphism?
What is the types of inheritance?
Is html an oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
Why is there no multiple inheritance?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.