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 makes a language oop?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is the difference between procedural programming and oops? What are oops functions? if i have same function with same number of argument but
defined in different files. Now i am adding these two files
in a third file and calling this function . which will get
called and wht decide the precedence? Explain the advantages of inheritance. What is solid in oops? What is abstraction in oop? Explain the concepts involved in Object Oriented programming. write a programe to calculate the simple intrest and compund
intrest using by function overlading What do you mean by overloading? What is oops and its features? What is the benefit of oop? What is polymorphism what is it for and how is it used?