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 object in oop with example?

699


How do you achieve runtime polymorphism?

569


What is overloading in oops?

598


What is the highest level of cohesion?

579


What is abstract class in oops?

600






Get me an image implementation program.

1557


How to hide the base class functionality in Inheritance?

638


Which language is not a true object oriented programming language?

640


Can you inherit a private class?

631


What are oops methods?

566


What is the renewal class?

2165


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2006


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3555


What is the types of inheritance?

603


What is polymorphism and example?

592