What is Virtual Keyword?

Answer Posted / anamika

with help of 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 ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you answer polymorphism?

577


What is the advantage of oop over procedural language?

630


What is abstraction with example?

607


What is meant by multiple inheritance?

738


What is protected in oop?

604






What is the main purpose of inheritance law?

671


Is react oop?

611


What is difference between oop and pop?

618


what is the drawback of classical methods in oops?

2920


What are the 3 pillars of oop?

616


what are the different types of qualifier in java?

1843


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

944


What is the purpose of polymorphism?

681


What is inheritance in simple words?

627


How does polymorphism work?

635