Answer Posted / rishika
it is the process of creating new classes from an existing base class
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is overriding in oop?
What is stream in oop?
What is oops concept with example?
What is interface? When and where is it used?
What is inheritance in simple words?
What is the real time example of inheritance?
When not to use object oriented programming?
How do you define social class?
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.
What is object in oop with example?
What is purpose of inheritance?
What is a class and object?
Explain virtual inheritance?
Which is better struts or spring?
Why is destructor used?