Java
TOPIC – INHERITANCE AND POLYMORPHISM II

separator-blank.png

LEARNING GOALS

  • I can make use of inheritance to extend the functionality and properties of existing objects.
  • I can make use of polymorphism to process different types of objects as one type.
  • I understand that private instance variables may have to be changed to protected in order for them to be visible by the subclasses.
  • I understand that all classes that do not extend a class actually extend the Object class and that this is why toString() can be called even if it is not implemented in a class.
  • I know how to call methods that are in the superclass even if they have been overridden.

 

LESSON NOTE

ASSIGNED WORK

separator-campeau.png