3. Java: Loops, Methods and Classes