can we have virtual functions in java?

Answer Posted / magan

By default all the methods are virtual functions in java.
So there is no need of virtual functions.

Is This Answer Correct ?    57 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a singleton class?

803


What is the basic concept of java?

786


What is package private scope in java?

727


What is the difference between array list and vector in java?

747


What is the difference between final, finally and finalize() in java?

809


What is javac used for?

706


What is the purpose of methodology?

855


What is difference between fileinputstream and filereader in java?

793


What is static import in java?

739


Why heap memory is called heap?

791


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

781


Should you use singleton pattern?

729


What is argument in java?

784


What are the advantages of exception handling in java?

845


Is void a wrapper class?

741