Why method overloading and method overriding required in java?
Answer Posted / sonu
function overloading is used to achieve dynamic binding, and overriding is used to achieve run time polymorphism , dynamic binding .
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the difference between super class & sub class?
When do we use synchronized blocks and advantages of using synchronized blocks?
Why do we override tostring method in java?
What is the statements?
What is arrays sort in java?
Does list maintain insertion order java?
What is meant by collection in java?
How the interruptible method gets implemented?
What is class and object in java?
Why is stringbuffer called mutable?
Difference between error and exception
what is meant by abstract class?
How can you traverse a linked list in java?
What are passing parameters?
Explain static nested classes ?