Java programming. Program is not getting information from a subclass

Printable View