Create InheritApp.java

Basic class