Solved Java Need Help With This Method Please Not Sure

Solved Java Need Help With This Method Please Not Sure