ClassCastException: need clarification

Printable View