Solved Java Code Please Make Sure Output Is Correct Copy

Solved Java Code Please Make Sure Output Is Correct Copy