(13/20) 13. Override! (...but not call?)



Shouldn't the directions include instructions for creating an instance of the class and/or calling a method of the class? None of the other Ruby exercises elucidate the subject of polymorphism, e.g.:

onyxia = Dragon.new("Onyxia") #No question about what is created?
onyxia.fight #No question about what results?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.