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 are keywords in programming?
What is the format specifier?
What is the difference between logical data independence and physical data independence?
Can you make a constructor final?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What is multi-catch block in java?
Does java set allow duplicates?
What is the difference between an array and an array list?
What does it mean to flush a file?
Are arrays static in java?
Why runnable interface is used in java?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
What is functional interface in java?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
Why put method is used?