How Do you Code Composition and Aggregation in C++ ?
Answer Posted / binay pandit
The answer given by the gurunath is perfectly correct. i
mean excellent.
| Is This Answer Correct ? | 27 Yes | 7 No |
Post New Answer View All Answers
What are different oops concepts?
What does and I oop mean?
What is encapsulation c#?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Is enum a class?
Why do we use oop?
What is balance factor?
What is encapsulation with example?
What is destructor give example?
What is polymorphism what is it for and how is it used?
What is advantage of inheritance?
Give two or more real cenario of virtual function and vertual object
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What are the benefits of oop?