Answer Posted / poonam
Virtual function is a function that uses keyword "virtual"
with the datatype of the function. When the base class as
well as the derived class contains a function both having
the same name, just to resolve ambiguity and copy of the
same data again and again we use the keyword "virtual"
preeceeding it. It is used to achieve poymorphism.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
write knight tour problem which is present in datastructure
What is object in oops?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is constructor in oop? What is the point of polymorphism? What is Difeerence between List obj=new ArrayList(); and
ArrayList obj=new ArrayList()? How to hide the base class functionality in Inheritance? What are the 4 pillars of oop? What is difference between inheritance and polymorphism? What is encapsulation example? Write a C++ program without using any loop (if, for, while
etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not
use 200 print statements!!!) What is a null tree? I have One image (means a group photo ) how to split the
faces only from the image?............ please send the
answer nagadurgaraju@gmail.com thanks in advace...
Why is polymorphism important in oop? How do you define social class?