Hackerrank Hackerrank Java Method Overriding Solution When a subclass inherits from a superclass, it also inherits its methods;