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
Can we access instance variables within static methods ?
What is the purpose of static methods and static variables?
Does treeset allow null in java?
Difference between notify() method and notifyall() method in java?
What is the latest java version?
Why is the singleton pattern considered to be an anti pattern?
Can a constructor be made final?
What is the difference between reader/writer and inputstream/output stream?
What is difference between iterator and enumeration in java?
Can we overload the methods by making them static?
What is the largest data type in java?
What are identifiers in java?
How do constructors use this() and super()?
Why method overriding is used?
What do you understand by the term singleton?