what is an virtual function

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What all access modifiers are allowed for top class ?

955


How can we create an immutable class in java?

816


what is the difference between a threads start() and run() methods? : Java thread

773


What is equlas() and hashcode() contract in java? Where does it used?

826


What are the differences between forwarding () method and sendredirect() methods?

836


What is main difference between variable and constant?

785


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

4398


How can we make copy of a java object?

784


What are the topics in core java?

807


What is the difference between static and global variables and also define what are volatile variables?

815


What are the advantages of functions?

716


What are data types in programming?

761


What is floor math?

697


What is downcasting?

801


What is variable declaration and definition?

755