Solved Complete Java Code And Show Output Public Class

Solved Complete Java Code And Show Output Public Class