What are virtual functions?

Answers were Sorted based on User's Feedback



What are virtual functions?..

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

What are virtual functions?..

Answer / niranjanravi

Functions which are called at runtime are called virtual
functions.

Is This Answer Correct ?    8 Yes 7 No

Post New Answer

More Core Java Interview Questions

What is the difference between stored procedure & function?

0 Answers  


Can we instantiate interface in java?

0 Answers  


Can we use static class instead of singleton?

0 Answers  


What is difference between hashset and hashmap?

0 Answers  


How can we find size of the object ?

5 Answers   CTS, RazorSight,


What method is used to specify a container's layout in java programming?

0 Answers  


Can we assign integer value to char in java?

0 Answers  


What does the @override annotation do?

0 Answers  


What kind of variables a class can consist of?

0 Answers  


If a class is declared without any access modifiers, where can the class be accessed?

0 Answers  


What are different types of control structures?

0 Answers  


What is difference between protected and private?

0 Answers  


Categories