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 |
what do you mean by marker interface in java?
What is polymorphism and what are the types of it?
What is derived datatype?
How many bits is size_t?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
What is tochararray in java?
What are structs in java?
in a console we r giving java <class name> if r pressing enter where it'll goes
Should a main method be compulsorily declared in all java classes?
What is matcher in java?
What are the types of sockets in java?
What is function and method in java?