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
Is java se free?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
When should I use singleton pattern?
What is a method type?
What do you mean by an object in java?
What is overriding in java?
What is the purpose of the System class?
Can static methods be inherited?
What does || || mean in math?
Explain the difference between string, stringbuffer and stringbuilder in java?
What is the function of http?
What are the properties of thread?
What is the use of isempty in java?
What are the types of arrays in java?
What is string manipulation?