Answer Posted / karthiga
1)provide a conceptual framework
2)avoid rewriting code
3)facilitating class libraries
4)all of these
Is This Answer Correct ? | 144 Yes | 19 No |
Post New Answer View All Answers
What is destructor oops?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is stream in oop?
What is the real time example of encapsulation?
What is abstraction oop?
Can main method override?
Whats is abstraction in oops?
What is polymorphism in oops?
What are functions in oop?
Explain virtual inheritance?
What is the purpose of enum?
What language is oop?
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.
Can destructor be overloaded?
Why is there no multiple inheritance?