What is Virtual Keyword?

Answer Posted / p.madhupriya

virtual keyword we can call all the funtion of
same name used in different class by creating pointer of
the base class

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a varargs method be overloaded?

789


What is the renewal class?

2391


What is encapsulation process?

765


What is the real life example of polymorphism?

832


Explain virtual inheritance?

872






How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1853


Get me an image implementation program.

1712


What is polymorphism and types?

803


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1853


What is overriding in oops?

800


What is new keyword in oops?

763


What is the benefit of oop?

735


What are two types of polymorphism?

784


What exactly is polymorphism?

811


How do you define social class?

773