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 a classloader in java?
Is arraylist sorted in java?
What is object of class in java?
How do you use find and replace?
What's the purpose of using break in each case of switch statement?
What are thread local variables?
What is casting in java programming?
What is the purpose of using javap?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What causes memory leak in java?
What is protected in java?
How to use Media tracker Class.
What is the generic function?
What is the requirement of thread in java?
What is the basic concept of java?