[Beginner Java] Returning a variable from mothod problem

Printable View