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
What do you mean by singleton class in java?
What is the basic concepts of OOPS?
What is adapter in java?
How many bits is a word?
How many decimal places is a double?
If try block is successfully executed, Then Is Finally block executed?
What loop means?
What do you mean by static variable?
Why do we need hashmap in java?
Why we override equals() method?
What is oop principle in java?
What is the implementation of destroy method in java. Is it native or java code?
State the merge-sort principle and its time complexity.
Is hashset ordered java?
What is implicit object in java?