Answer Posted / shekimam
Polymorphism is the existence of the classes or methods in different forms or single name denoting different
implementations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is abstraction and encapsulation?
What is static 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 destructor example?
2. Give the different notations for the class.\
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 are the 4 pillars of oop?
what is difference between class template and template class?
Why do we use polymorphism in oops?
How to hide the base class functionality in Inheritance?
write a program that takes input in digits and display the result in words from 1 to 1000
What is polymorphism and why is it important?
What are the data types in oop?
What is polymorphism and types?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?