Answer Posted / mayank kumar
class is a user defined data type and it is the collection
of element. it contains two things
data member and member function.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
#include
Why is polymorphism needed?
Why is abstraction used?
What is destructor in oop?
• What are the desirable attributes for memory managment?
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.
How Do you Code Composition and Aggregation in C++ ?
What is coupling in oops?
What is data binding in oops?
What is overriding in oop?
2. Give the different notations for the class.\
What does and I oop mean?
What are benefits of oop?
Can static class have constructor?
What is pointer in oop?