I do not think so.
Lets look at it.
abstract class Product --> abstract class Electronic --> class MP3Player ... implements computeSalePrice()
So you are implementing public double computeSalePrice() in MP3Player class. That's absolutely correct.
Abstract class which has super (parent) class do not have to implement any of parent class methods because it is still abstract class. Abstract class is not here to implement anything. Class derived from abstract class has to implement functions.
I recommend you to go again over "Inheritence" lesson to understand this better.
--
Martin
Dne čtvrtek, 20. února 2014 7:21:22 UTC+1 Joseph John napsal(a):