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 are encapsulation, inheritance and polymorphism?

0 Answers  


What do you mean by synchronized non access modifier?

0 Answers  


What are the basics of core java?

0 Answers  


What modifiers are used for interface declaration?

7 Answers  


Justify your answer that you can't define a method inside another method in java, if you can then how?

0 Answers  






What is the difference between and ?

0 Answers  


what is the use of clone() in real time scenario?

2 Answers   Quinnox,


What is variable explain?

0 Answers  


What is difference between overloading and overriding?

2 Answers   Accenture,


what are the design patterns in struts?

1 Answers  


What is a line break?

0 Answers  


What is better - 'bit-shift a value' or 'multiply by 2'?

0 Answers   DELL,


Categories