CS110 Introduction to Computing in Java – Exam 1

b) Method overriding is when one class inherits from another class and defines a method with the same signature as the base class. This new method overrides (takes precedence) over the base class method. An example of this is any user-written toString method which overrides the toString method in the Object class. ................
................