Answer Posted / vivek
Ploymorphism is the concept of OOP's. It allows you invoke
derived class methods through base class reference during
runtime.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the important components of cohesion?
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 encapsulation process?
write a C++ program for booking using constructor and destructor.
What is an example of genetic polymorphism?
Is data hiding and abstraction same?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is oops with example?
What is a superclass in oop?
What is encapsulation with real life example?
Why is oop useful?
What does sksksk mean in text slang?
Can main method override?
What is the main feature of oop?
Where You Can Use Interface in your Project