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 |
What is difference between final and immutable?
what is the reason behind non static method cannot be referenced from a static Context?
Can you have two constructors in java?
What is aggregation and composition ?
What are the advantages of java over cpp?
Can you add null to a list java?
What is the benefit of inner / nested classes ?
For which statements we use a label?
What is java abstraction with example?
What does it mean that a method or field is “static”?
Are maps ordered java?
Difference between Encapsulation and Abstraction