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
What is meant by binding in rmi?
why Interface used?
What about anonymous inner classes in java?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
What is type inference in java8?
How do you input a string in java?
Which collection is best for sorting in java?
What is a Null object?
Where are the card layouts used?
What is a methodologist?
What is the purpose of the enableevents() method?
What is nextint java?
what is meant wrapper classes?
Why string is immutable or final in java
What is equals method in java?