can we have virtual functions in java?

Answer Posted / bindhu solomon

In java, all methods are virtual functions by default. So
we can override a method in any subclasses .

Is This Answer Correct ?    123 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string pooling concept?

547


how can i use a nonsynchronized hashtable?

2094


What is the size of int?

585


What is the unit of plancks constant?

560


What is collection class in java? List down its methods and interfaces.

518






What are different types of encoding?

575


What are different types of inner classes ?

548


Can we use a switch statement with strings?

543


Can we make a constructor final?

533


What is the point of polymorphism java?

536


When do you call copy constructor?

551


Can we use switch statement with strings?

614


If an object is garbage collected, can it become reachable again?

536


Is special character in java?

602


Explain garbage collection in java?

537