Very new to Java. Please help me correct my code.

Printable View