why no ambiguity error in code?

Printable View