Solved Java Code Output Shown Should Be Same As Shown

Solved Java Code Output Shown Should Be Same As Shown