Add X.java and inheritance. Done.