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 use switch statement with strings?
Differentiate between a class and an object.
what is the difference between the methods sleep() and wait()? : Java thread
What are the various access specifiers in java?
What is skeleton and stub?
Where we write javascript code in html page?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
Explain the access modifiers for a class, method and variables?
Why put method is used?
Can you explain the usages of class.forname()?
Explain the importance of import keyword in java?
Does list maintain insertion order java?
What do you mean by a JVM?
Explain the difference between intermediate and terminal operations in java8?
Can we declare register variable as global?