What is Overriding and how can it be used?
Answer Posted / vikneswarank
the class and it sub contain one method with same name and
same signature and same return type also
sub class in method will override in super class.
in case of overridding during run time jvm knows which
method it will call.
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is an example of procedure?
Why do we need wrapper class?
What is the java project architecture?
What is the final class modifier?
How do you write a conditional statement?
Is array a class in java?
What is the purpose of nested class in java?
How dead lock situation occurs in java and how you can identify it?
What are 3 boolean operators?
What is the size of int in 64-bit jvm?
What are the two main uses of volatile in Java?
What is string variable?
What are the different tags provided in jstl?
What's the difference between comparison done by equals method and == operator?
Difference between character constant and string constant in java ?