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

Where can I find data structures question and answers with comprehensive working code written in Java

0 Answers   Amazon,


In java how do we copy objects?

0 Answers  


What is function overriding and overloading in java?

0 Answers  


What is an anonymous class in java?

0 Answers  


Write a program to print 15 random numbers using foreach of java 8?

0 Answers  






What are command line arguments?

3 Answers  


What is a nested class?

0 Answers  


Which package has light weight components?

0 Answers  


Name the method that used to clear the buffer ?

2 Answers  


What is singleton service?

0 Answers  


Write a program to print the pattern given below

0 Answers  


What is garbage collector?

0 Answers  


Categories