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
Do we have pointers in java?
How do you include a string in java?
Can we have 2 main methods in java class?
Why are lists ordered in java?
what is meant by HQL?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
Can we sort array in java?
What is array list in java?
Where are global variables stored?
Mention some features of java?
Can we have multiple public classes in a java source file?
How do you check if two strings are equal in java?
What is the difference between && and & in java?
What is exception hierarchy in java?
Can an interface extend another interface?