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 |
Why we are use # in begning of programme of c++.
How do you define a class in oop?
Program to read a comment string
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.
1 Answers Global Academy, Infotech,
What do we mean by a hidden argument in a function?
if u write a class do u write Assignment operator and copy constructor
What is a linked list?
Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest it?
Why do we need oop?
What does sksksk mean in text slang?
When will a constructor executed?