Why method overloading and method overriding required in java?



Why method overloading and method overriding required in java?..

Answer / 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

More Core Java Interview Questions

Can a static method be final?

0 Answers  


Why does java not support operator overloading?

0 Answers  


Which is the best way of exception handling?

2 Answers   Oracle,


How to convert String into primitive datatype.

6 Answers  


how to print the below in java?thanks in advance.... * * * * * * * *

3 Answers  






What is "this" keyword in java? Explain

0 Answers  


AWT event listeners extends what interface?

1 Answers  


Can set contain duplicates?

0 Answers  


What are design patterns and please explain?

0 Answers  


What is final keyword in java? Give an example.

0 Answers  


What do you understand by copy constructor in java?

0 Answers  


How many days will it take to learn java?

0 Answers  


Categories