Update InheritApp.java

Override toString, make Animal class abstract