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 thread and programme.
Which is not an object oriented programming language?
What is Hashing and how is it done? Pictorial form?
What is the difference between pass by reference and pass by value?
what is the advantage in software? what is the difference between the software developer and Engineer
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.
Can private class be inherited?
How Do you Code Composition and Aggregation in C++ ?
what is the definition of incapsulation
What is pure oop?
write a c++ code to overload + and - for a stack class such that + provides push and - provides pop operation
1 Answers College School Exams Tests, HCL, IBM, TCS,
How to overload new operator in c++