Solved Write A Java Program Corresponding To The Following

Solved Write A Java Program Corresponding To The Following