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 are the new features in java 8?
How do you implement polymorphism in our day to day life?
How can you share data between two thread in Java?
What is the collections api in java programming?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
What is polymorphism and what are the types of it?
What is preparedstatement in java?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
How will you load a specific locale?
How a variable is stored in memory?
What is difference between float and double?
What is the purpose of garbage collection in java? When is it used?
How do you detect memory leaks?
Why hashcode is used in java?
What is methods and methodology?