what is mean by overriding in which situation we wil use?
Answer Posted / neema
If we have same method name in the super class as well as
in the sub class, then the method in the subclass is said
to override the method in the super class.
Is This Answer Correct ? | 25 Yes | 4 No |
Post New Answer View All Answers
Can we create our own daemon thread?
What do you mean by buffering?
Difference between ‘>>’ and ‘>>>’ operators in java?
Does garbage collection occur in permanent generation space in jvm?
Differentiate between the constructors and methods in java?
What state is a thread in when it is executing?
What are green threads in java?
How do I write a self declaration?
Why do we declare a class static?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
What is the function of java?
What is the base class for error and exception?
What is data structure in java?
what is server side caching?
Can a static method be overridden in java?