need answers to this java program

Printable View