Update InheritApp.java

Add abstract method to parent class, and implement in child class.