new to java, trouble with if statement

Printable View