Answer Posted / jyotsna pandey
object
class
inheritence
polymorphism
encapsulation
data abstraction
dynamic binding
message passing
| Is This Answer Correct ? | 60 Yes | 17 No |
Post New Answer View All Answers
How do you define social class?
What is polymorphism and why is it important?
Why is encapsulation used?
What is property in oops?
Why is polymorphism important in oop?
What is advantage of inheritance?
What is encapsulation with example?
What is data binding in oops?
What is encapsulation in oops?
What is an advantage of polymorphism?
What does and I oop and sksksk mean?
What is super in oop?
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 class and example?
What is the difference between encapsulation and polymorphism?