Holodeck Design Project
From Huben's Wiki
Line 23: | Line 23: | ||
* You will create these 5 classes. | * You will create these 5 classes. | ||
* You will create super classes and/or interfaces as needed so that you could use polymorphism for the methods that are present in more than one class. | * You will create super classes and/or interfaces as needed so that you could use polymorphism for the methods that are present in more than one class. | ||
− | * To keep it simple, all methods have no arguments and return strings with the class name and the method name, such as " | + | * To keep it simple, all methods have no arguments and return strings with the class name and the method name, such as "Dragon flame". If a method is inherited, you can just use the inherited method: no need to override the method. |
+ | * Use the following class to see your results. |