new to java and got 2 errors

Printable View