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
why reinterpret cast is considered dangerous?
What is oops and its features?
Why we use classes in oop?
What is polymorphism and types?
c++ program to swap the objects of two different classes
What is inheritance in oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What does I oop mean?
Is abstract thinking intelligence?
What is object in oop?
What is polymorphism and its types?
What is the difference between a mixin and inheritance?
What is polymorphism programming?
What are the advantages of polymorphism?
What is ambiguity in inheritance?