need help for the few question for java program!!

Printable View