Having trouble printing object information in main class

Printable View