What are virtual functions?
Answers were Sorted based on User's Feedback
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 |
Functions which are called at runtime are called virtual
functions.
Is This Answer Correct ? | 8 Yes | 7 No |
Where can I find data structures question and answers with comprehensive working code written in Java
In java how do we copy objects?
What is function overriding and overloading in java?
What is an anonymous class in java?
Write a program to print 15 random numbers using foreach of java 8?
What are command line arguments?
What is a nested class?
Which package has light weight components?
Name the method that used to clear the buffer ?
What is singleton service?
Write a program to print the pattern given below
What is garbage collector?