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 is functional interface in java example?

540


Can we have any code between try and catch blocks?

567


design an lru cache in java?

548


Can you access the private method from outside the class?

522


What comes to mind when someone mentions a shallow copy in java?

671






How to implement a multithreaded applet?

2212


What do you understand by a Static Variable?

643


Why does java have two ways to create child threads? Which way is better?

553


What is the longest unicode character?

699


What are the methods used to implement for the key object in the hash map?

575


What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

606


Can we have return statement in finally clause? What will happen?

523


Explain about java sdk?

583


Why use string handling in Java?

589


What does yield method of the thread class do?

585