Instanceof/cast doesnt work?

Printable View