Answer Posted / p.madhupriya
one derived(child) class is takes properties from more then
one base(parent) class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the real time example of inheritance?
What is the real life example of polymorphism?
What is class and object in oops?
What is balance factor?
What do you mean by overloading?
what is the sylabus for priliminaries?
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.
State what is encapsulation and friend function?
What exactly is polymorphism?
How do you answer polymorphism?
What is protected in oop?
is there any choice in opting subjects like 4 out of 7
Get me a number puzzle game-program
Can enum be null?
Can you inherit a private class?