what is overloading in java?

Answer Posted / manohar

My question is where and what exactly does overloading does.
instead of taking risk we can use different names for
methods right.so,that we do not have any confusion, because
if we have to call overloaded methods from main method then
definetly we have to call every method with different
parameter again which is performance issue. So can you
please provide me the exact answer for this provided
examples if any one has.

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What access modifiers can be used for class ?

774


What is incompatible types in java?

800


What is a java predicate?

735


In how many ways we can do synchronization in java?

744


What is the public method modifier?

759


Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

807


How is treeset implemented in java?

740


Does importing a package imports its sub-packages as well in java?

758


Are arrays immutable in java?

758


Is constructor inherited?

751


What is the order of arraylist in java?

832


What is finalize()? Is finalize() similar to a destructor?

753


What is the advantage of preparedstatement over statement?

829


what is ststic with example

1807


Can you call a method on a null object?

771