Solved Please Answer The Following Question Using Java

Solved Please Answer The Following Question Using Java