Your parent class fruit is not abstract. It needs to be declared abstract as well as have the abstract methods outlined in the description. This will force the compiler to let you know Apple does not implement those methods, which you need to implement to be able to access those methods.