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
Which sort is best in java?
What are user defined exceptions?
What is difference between overloading and overriding in java?
Why are lists ordered in java?
What is the abstract class?
What is literal example?
What about main thread in java?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
How do you add an element to a hashset in java?
Explain how to force the garbage collection in java.
What is the class in java?
Describe method overriding
What are three ways in which a thread can enter the waiting state in java programming?
What is the same as procedures?
What is string manipulation?