Answer Posted / anjana priyadharshini
Static:
static is one of the key word of the language c++.static means constant
Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Why is oop useful?
What is the difference between static polymorphism and dynamic polymorphism?
What is difference between abstraction and encapsulation?
What does <> mean pseudocode?
What is use of overloading?
What is oops with example?
What are the benefits of interface?
What is the renewal class?
What is protected in oop?
to find out the minimum of two integer number of two different classes using friend function
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Why is polymorphism important in oop?
How do you explain polymorphism?
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 polymorphism used for?