Answer Posted / dev
When a derived class has only one base class its called a
single inheritance
| Is This Answer Correct ? | 106 Yes | 7 No |
Post New Answer View All Answers
what are the ways in which a constructors can be called?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is interface? When and where is it used?
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.
Why we use classes in oop?
What are the three parts of a simple empty class?
What does oop mean in snapchat?
What is the point of oop?
Is abstract thinking intelligence?
What is advantage of inheritance?
What is static modifier?
What is coupling in oop?
What are the benefits of oop?
Why multiple inheritance is not allowed?
Why polymorphism is used in oops?