Which class is super class of every class

Can you have virtual functions in Java ?

Answer : Yes. All method are virtual functions by default. Static, final or method marked with private which can not be inherited are non-virtual functions.

Leave a Reply

Your email address will not be published. Required fields are marked *