Java code giving error

Printable View