what is an virtual function
Answers were Sorted based on User's Feedback
Answer / ejp
There are no virtual functions in Java so the question is
futile. There are non-final functions, which can be
overridden by a derived class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Can you extend main method in java?
What is binary tree in java?
What is meant by method overriding?
Can we declare a class as static?
What does main method?
What is set string?
Which is better stringbuffer or stringbuilder?
Is it possible to compare various strings with the help of == operator?
Give an example of use of pointers in java class.
Can we declare an anonymous class as both extending a class and implementing an interface?
8 Answers College School Exams Tests, JVA, TCS, Wipro,
What is the core java?
what is purpose of writting public static void main(Strind arg[]) in java..?