Answer Posted / 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 |
Post New Answer View All Answers
Is class forname reflection?
Can we make main() thread as daemon?
Can you inherit from an abstract class java?
What is the lifetime and scope of a variable?
What is a java predicate?
What happens when a thread cannot acquire a lock on an object in java programming?
What does the “static” keyword mean? Can you override private or static method in java?
Is java pass by value or pass by reference?
What is Major and importance difference between for and foreach loop ?
State the difference between creating string as new () and literal.
What does the three dot emoji mean?
What is the difference between java applets and applications?
Can we use synchronized block for primitives?
What is ‘has a’’ relationship in java?
Is set ordered?