I got this error while compilation if any one of (1) or (2) were uncommented
reference to method is ambiguous both method method (java.io.IoException) in testing and
method method(java.lang.Integer) in testing match tc.method(null);
Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read.
You can edit your post by using the button.
Joined: May 04, 2010
hi, amit thanks for the reply . My doubt is i have overloaded method() with two argument types one with java.io.IOException and Integer. But, why the compiler thinks that its a ambigous method declaration resulting compilation fail