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 continuity of a function?
What is bifunction in java?
In how many ways we can do exception handling in java?
Explain an intermediate language?
What is difference in between java class and bean?
What is the difference between overriding and overloading in OOPS.
What is java objectoutputstream?
Which package is imported by default?
What do u mean by variable?
how we can make a read-only class in java?
What are the 3 types of control structures?
Why java strings are immutable in nature?
What is extension method in java?
Can a final variable be manipulated in java?
What is exception hierarchy in java?