What are the advantages of inheritance?
Answer Posted / sai
Reusability means making it usable again
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are constructors in oop?
What is an interface in oop?
Why is object oriented programming so hard?
what are the realtime excercises in C++?
What is a class and object?
What is destructor oops?
What does <> mean pseudocode?
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 achieve runtime polymorphism?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What does no cap mean?
What is static in oop?
What is protected in oop?
What are oops methods?
Can you inherit a private class?