please help in java code (simple)

Printable View