what is virtual function?
Answer Posted / ann
A virtual function is a function which is preceded by the
keyword 'virtual' followed by its normal declaration.When we
use the same function name in both the base and derived
classes,the function in base class is declared as virtual.
This concept is a very important part of the
polymorphism portion of object-oriented programming
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is overloading in oops?
What is the main purpose of inheritance law?
What do you mean by overloading?
What is encapsulation selenium?
Which method cannot be overridden?
How do you answer polymorphism?
What is the advantage of oop over procedural language?
What causes polymorphism?
What is a class oop?
What is polymorphism used for?
what type of question are asked in thoughtworks pair programming round ?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is object in oop?
Can you inherit a private class?
Can a destructor be called directly?