Need java help with practice question?

1 answer 1