What is Overriding and how can it be used?
Answer Posted / gopalramana
To define method in subclass having same method name as
method in superclass having same return type,same
parameters,then method in subclass should be override
method in superclass.
used in code repalcement.
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
Why is the main method declared static?
What is native method in java?
How do you implement tree mirroring in java?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
What is a package in java? List down various advantages of packages.
What is the difference between yielding and sleeping?
How do you remove duplicates in java?
How do singleton patterns work?
What is the common usage of serialization?
Can we print null in java?
What is ‘is-a ‘ relationship in java?
What is difference between public static and void?
Can list be final in java?
What is the history of java?
How can we find the sum of two linked lists using stack in java?