What are virtual functions?

Answer Posted / satendra

In OOP, virtual methods are those methods which can be
overridden within an inheriting class by a function with the
same signature. This concept is a very important part of the
polymorphism portion of OOP. In JAVA by default all methods
are virtual.

Is This Answer Correct ?    19 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between final and immutable?

796


What do you understand by the term wrapper classes?

769


What is remote method invocation (rmi)?

829


How many bits is a string?

762


What is a protected void?

717


What is incompatible types in java?

806


Can we change the scope of the overridden method in the subclass?

1083


What does serializing data mean?

735


When should we create our own custom exception classes?

806


Can we access instance variables within static methods ?

839


Which class is the superclass for all the classes?

783


What is the main functionality of the remote reference layer?

1670


What is return data type?

792


How do I get 64 bit java?

731


What is string intern in java?

793