The goal of this exercise is to teach the student the basics of the Concept of Inheritance in Java.
- Know what inheritance is.
- Know how to inherit from a class.
- Know that all types inherit from object.
- Know what the override annotation means.
- Inheritance from interfaces
- Abstract classes
inheritance
This exercise's prerequisites Concepts are:
classesstringsif-else-statements
This exercise does not require any specific representation logic to be added to the representer.
This exercise could benefit from the following rules in the analyzer:
actionable: If the student left any// TODO: ...comments in the code, instruct them to remove these.informative: If the solution didn't use theOverrideannotation for the overrided methods, inform the student that it's a good practice to add it.
If the solution does not receive any of the above feedback, it must be exemplar.
Leave a celebratory comment to celebrate the success!