What is the purpose of having the concept of overloading?
Answer Posted / siddhart prasad
Method overloading is used when objects are required to perform similar rasks but with different input parameters.....i think soo.....:-)......when we call a method in an object, java use to match the method name first as well as the no. and different typs of parameters to decide which one of da definitions to execute....the process is known as #static_polymorphism.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why object class is super class for every class in java?
What is the longest unicode character?
Is a char always 1 byte?
What are different ways of object creation in java ?
What is a class component?
Why is multithreading important?
What is the benefit of abstract class?
Is it safe to install java on my computer?
What is independent and dependent variables in research?
What is internal variable?
What is thread pool? How can we create thread pool in java?
Why is method overloading not possible by changing the return type in java?
Define nashorn in java8.
Describe how to implement singleton design pattern in struts.
Can you call a method in a method?