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
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
How do you define a parameter?
What is difference between null and void?
Can we synchronize static methods in java?
How many bytes are a float?
Write a program in java to find the maximum and minimum value node from a circular linked list.
what is object slice?
What does java stand for?
What are instance variables?
Is it safe to install java on my computer?
Can a constructor call another constructor?
How many types of variables are there?
what do you mean by java annotations?
Which method cannot be overridden in java?
What is a vector in java?