Unable to access getter method in an object class I made

Printable View