Unless you wrote or added the 'Cansee' method to your class (or a superclass of that class) yourself, you will get that error. There is a 'canSee' method in the Animal class (lettercase is important). If this class extends that class than use 'canSee' (not 'Cansee'). If not then, you need to either add the Animal class and have this class extend it, or add the methods to this class to do what you want.