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 array is used in java?
what is the swingutilities.invokelater(runnable) method for? : Java thread
What is the use of default method in interface in java? Explain
Can you sort a string in java?
Define the term string pool?
What are the types of strings?
Can we override private method?
What is the exception hierarchy in java?
How many tetrahedral voids are there in bcc?
What are the rules for naming an array?
How are the elements of a gridbaglayout organized?
What is the final keyword in java?
You're given a Boolean 2D matrix, can you find the number of islands?
What comes to mind when someone mentions a shallow copy in java?
What is communist flag?