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 |
How do you load an HTML page from an Applet ?
What is the difference between length and size in java?
Explain how to force the garbage collection in java.
Can a function return a function?
why java not supproting multiple inheritance?
what is a thread?
How java is platform independent?
41 Answers College School Exams Tests, Infosys, TCS,
What restrictions are placed on method overloading in java programming?
Which is better list or arraylist in java?
describe synchronization in respect to multithreading? : Java thread
How to handle a web browser resize operation?
How will you compute size of a structure?