Answer Posted / karthika
By the name denotes it allocate memory at the run time.
It is done by using virtual function and inheritance.
It uses pointer since it is executed at run time.it create
reference for the base class.so it takes many forms for the
same object.
eg method overiding.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what are the ways in which a constructors can be called?
What is overloading in oop?
write a program to find 2^n+1 ?
What is a class in oop?
What is overloading in oops?
officer say me - i am offered to a smoking , then what can you say
What is encapsulation example?
What is coupling in oops?
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.
Why do while loop is used?
Can we have inheritance without polymorphism?
Why is object oriented programming so hard?
What is debug class?what is trace class? What differences are between them? With examples.
What is pure oop?
What is property in oops?