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
How do you sort a set in java?
What is an error in java?
What is the private method modifier?
How to find the largest value from the given array.
What’s the difference between the methods sleep() and wait()?
How do you break a loop?
What is a Null object?
What are the basics of core java?
What is difference between static class and normal class?
What are singleton services?
What are static blocks in java ?
How do you get length in java?
what type of questions asked for barclays technologies pune please send urgent
What is difference between iterator and enumeration in java?
What are the three best choices for a development environment?