what is the purpose of method overriding in java where v r
completely re-defining a inherited method instead y can't v
create a new method and define.If the question is very silly
plz excuse me and do reply.Thank U!
Answer Posted / sadikhasan palsaniya
we can change default behavior of super class method by
overriding that method into the subclass.
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
Why Java doesn’t support multiple inheritance?
Why does java have two ways to create child threads?
Are arrays classes in java?
Is java hashset ordered?
What are heap memory and stack memory and what are memory tables.
Why should I use abstract class?
Explain the overview of UDP messaging.
Is a boolean variable?
when you will synchronize a piece of your code? : Java thread
What is a double vs float?
Why arraylist is used in java?
How is hashset defined in java?
What are the different ways to handle exceptions?
Is math class static in java?
What are the different types of sorting in java?