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 a protected class in java?
What is the difference between the size and capacity of a vector?
Is an empty arraylist null?
How static variable work in java?
What is r in java?
What is the purpose of nested class in java?
What is the function of compareto in java?
What is the use of toarray () in java?
Write a program to print all permutations of string?
What is methods and methodology?
Which one of the following suits the description of a string better: derived or primitive?
Which is easier netbeans or eclipse?
Is arraylist ordered?
What are the advantages of user defined functions?
whatis Home interface and Remoteinterface? with example?