Why polymorphism is used in oops?
No Answer is Posted For this Question
Be the First to Post Answer
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
What is encapsulation in ict?
What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?
why to use template classes in c++?
How to create a comment page in C #??
what is difference between objects and function
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
what is ns string? what is ns array?
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 are the uses of C++
Explain the concept of abstracion and encapsulation with one example. What is the difference between them?
difference between static and non-static variables?