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
Is java a digit method?
What is class forname used for?
How are variables stored?
Why can't you declare a class as protected?
What are the 8 data types in java?
What is number data type in java?
When to use runnable interface vs thread class in java?
Explain an intermediate language?
Does apple use java?
Explain thread life cycle in java?
What is Java Package and which package is imported by default?
Write a program to check string is palindrome without using loop?
Which is the best sorting technique in java?
What is the difference between @before and @beforeclass annotation?
Why chararray() is preferred over string to store the password?