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 |
What is the difference between stored procedure & function?
Can we instantiate interface in java?
Can we use static class instead of singleton?
What is difference between hashset and hashmap?
How can we find size of the object ?
What method is used to specify a container's layout in java programming?
Can we assign integer value to char in java?
What does the @override annotation do?
What kind of variables a class can consist of?
If a class is declared without any access modifiers, where can the class be accessed?
What are different types of control structures?
What is difference between protected and private?