Sandeep, the two method definitions
do have different parameter types. Let's not repeat all this discussion here again. The post that Al Mamun pointed to,
here, is virtually the exact same code. The method and class names are different, but the reason the compiler complains of ambiguity is the same.
Fedry, where is this code coming from? Why do we have several people posting nearly the same code? Is there a mock exam out there which includes this problem?