The problem is that the interface method Dog.getOwner seems to have been successfully "implemented" by ConcreteDog.getHunter. However, Dog.setOwner doesn't seem to recognize ConcreteDog.setHunter as a suitable implementation. The 2 looks the same to me. Can somebody please help?
Joined: Jul 23, 2007
You cannot use extends in both the get and put logic you should use extends for getting and super for putting a variable of a type.