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
Explain about static nested classes in java?
What are the important methods of java exception class?
What are the data types supported by java? What is autoboxing and unboxing?
Can an integer be null java?
Can we sort set in java?
Is set thread safe java?
What value is a variable of the string type automatically initialized?
What is thread pool? How can we create thread pool in java?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What is difference between == equals () and compareto () method?
What is the difference between the final method and abstract method?
Is arraylist an object in java?
Differentiate between run time error and syntax error.
Is java call by reference?
What are the steps involved to write rmi based programs?