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 |
Are maps ordered java?
What are the methods available in a class?
is it mandatory to deaclare all variables public static fianl in interfaces?if i declare like in the below program, public interface A { public static final int I=0; int j=0; } in interface A,what is the difference between I,j?
Write a program to calculate factorial in java?
What does exclamation mean in java?
briefley expalin about the packages
What is the abstract class?
What does string mean in java?
Can we override constructor in java?
Can a boolean be null java?
There can be a abstract class without abstract methods, but what is the need to declare a class abstract if it doesn't contain abstract methods?
What is the difference between && and & in java?