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 chararray() is preferred over string to store the password?
Write a program to check string is palindrome without using loop?
What is return type in java?
Is java se open source?
What are alternatives to java serialization?
Explain about field hiding in java?
When should I use stringbuffer?
Explain a situation where finally block will not be executed?
Why webdriver is an interface?
Can we write class inside a class in java?
How do you avoid global variables?
What is the difference between serializable and externalizable interface?
Is string is a class in java?
What are different types of inner classes ?
What exactly is a .class file?