Resolution of overloaded methods selects the most specific method for execution.
here is an example of it:
It explains that the method 'flipFlop(
String, int, Integer)' is ambiguous
But I thought the second method flipFlop(String str, int i, int j) is more specific than the first one, since the second one need only convert one parameter type, while the first one requires two parameters to be converted. Why the compiler is still complaining?
Can someone explain this? Thanks.
[ June 26, 2005: Message edited by: reubin nibuer ]