Solved Please Code In Java I Tried Modifying It But Return

Solved Please Code In Java I Tried Modifying It But Return