Lecture 24
3
How the dispatch table works
•In CLIShell loop:
–get first token on the line: commandName
–lookup commandObject with commandName key 
–send doIt() message
•Each particular ShellCommand extends the abstract ShellCommand class, implementing doIt() in its own way
•Polymorphism at work
•
Lecture 17, JOI pp 143-151