Ambiguity and non-static variable reference error in java

Printable View