G
goo
Guest
11.7.3 I have build a class, but now I have to expand it and some of the Methods will now have to be changed depending on what will be read. Example: myBong = New Bong.cls(). I would like to tell the Bong.cls what kind of Bong it now will have to read. i.e. myBong = New Bong.cls('Sharp') and then I want to move all Methods to ie. SharpBong.cls, QuoriorBong.cls, so when I refer to myBong:ReadBong(), I refere to the class in play. Is this where I would use an Interface?
Continue reading...
Continue reading...