e-learning for 2/1/2024
- Read up on Inheritance in the book - Chapter 10 mainly, we also already covered parts of Chapter 11&12.
- You may also or instead watch the videos for the respective chapters linked from the resources page.
- Practice and test your understanding of inheritance using the InheritancePlayground project.
- Work on Lab10. It is sufficient if you use the version in your-zuul-command-hierarchy
Read the source code of
Command.java
and it’s subclasses (Go, Help, Quit…) to see how the command hierarchy cleans up the code by moving all commands to their respective small subclass ofCommand
. StudyCommandWord.java
to see how the correct class is instantiated. - If you missed the Refactoring Part for Lab09, make sure you also read Chapter 08 and do the refactoring of Rooms & their exits for Lab10.
- Provide a brief summary of what you did as lecture notes for 2/1/2024 in Moodle.