Answer Posted / amar
In object-oriented programming, a virtual function or
virtual method is one whose behavior can be overridden
within an inheriting class by a function with the same
signature. irtual functions are abstract methods in java. by
default
all the methods are abstract in interface.
Is This Answer Correct ? | 20 Yes | 6 No |
Post New Answer View All Answers
What's the difference between an abstract class and interface in java?
What is treemap in java?
What is the formula to calculate percentage?
How does java pattern compile work?
How will you serialize a singleton class without violating singleton pattern?
What is runtime polymorphism or dynamic method dispatch?
Can a private method of a superclass be declared within a subclass?
What is stringjoiner ?
What do you mean by default constructor in java?
What are loops in java?
What is the use of default method in interface in java?
Why are lists ordered in java?
Why for each loop is used?
What are different types of control structures?
What if static is removed from main method?