Need help with Null Pointer Exception (program using inheritance)

Printable View