Answer Posted / nishi tomar
A virtual function is a member function of a class, whose
functionality can be over-ridden in its derived classes. It
is one that is declared as virtual in the base class using
the virtual keyword. The virtual nature is inherited in the
subsequent derived classes and the virtual keyword need not
be re-stated there. The whole function body can be replaced
with a new set of implementation in the derived class.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What is the name of the java compiler?
Can we extend private class in java?
How we can make copy of a java object?
What is illegal identifier in java?
What is stack example?
Explain about instanceof operator in java?
What is a module function?
What is getclass () getname () in java?
What is the final field modifier?
How do you break a loop?
Why java is secure? Explain.
Can a class be protected in java?
What is javac used for?
Can I import same package/class twice?
How to create a fecelet view?