What is Overriding and how can it be used?
Answer Posted / sajith
If class define method using same name,parameter,return
type,argument in its superclass then it is called overriding.
sub class should be override parentclass
Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What is the static method?
What are the differences between stringbuffer and stringbuilder?
Why is flag used in java?
What is the maximum size of array in java?
What is a finally block?
What is difference between synchronize and concurrent collection in java?
How to store image in arraylist in java?
how is final different from finally and finalize in java?
How many days will it take to learn java?
What is a variable analysis?
Can you sort a list in java?
What is the difference between an if statement and a switch statement?
Why static functions are used?
What is difference between next () and nextline () in java?
What is a java list?