




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Today: Various odds and ends in support of abstraction.
Readings: At this point, we have looked at Chapters 1–8 of Head First Java. Today’s lecture is about Chapters 9 and 11. For Friday, please read Chapter 10 and Chapter 3 (“Numbers”) from Assorted Material on Java.
Stuff that might throw exception;
Do something reasonable;
Do something else reasonable;
Go on with life;
declaration.
void myRead () throws IOException, InterruptedException { ... }
class Parent { class Child extends Parent { void f () { ... } void f () throws IOException { ... } } }