Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is ambiguous situation in the context of method overloading in Java? Please can someone give an example to clarify this concept?
Posted
Comments
LanFanNinja 27-Nov-11 9:24am    
I have only used java a couple of times years ago so I can't really give you a good answer to this question. I do however recommend that you search google for something like "ambiguous method overloading java" and see what you come up with. Maybe someone will be by later to give you a clear explanation.
Sergey Alexandrovich Kryukov 27-Nov-11 12:18pm    
It is not really related to Java. This is a "problem" of the resolution of a method choice by a compiler, common to all languages where the methods with different signatures can have the same name (for great convenience, of course), which is usually called by an awkward and sometimes misleading term "method overload". It's a very simple problem.
--SA

1 solution

See here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900