Solved Can You Translate This Java Program Into The Same

Solved Can You Translate This Java Program Into The Same