i. Let me know by Wednesday if you
would like me to assign a partner for you
ii. Partners - by Friday, 12/9
i. Notify drivers will be graded as
extra credit
i. By tomorrow
ii. Contact the grader – me for most
of you, but not all of you
iii. Email me, even if you’ve already
talked to me
iv. Note – Test 1 and Test 2 use
different maps
i. Why emphasize now? Because you need to use it for Program 4
i. Comes after a try{} or a
catch(){}
1.
Two
ways…
ii. Always executes
iii. Useful for closing scanners,
printwriters, etc
iv. Make sure to think about variable
scope when using
1.
Reminder
– {} blocks signify nested scope boxes
i. Creating checked vs unchecked
exceptions
i. Relationship between classes
ii. Ultimate goal – save us
time/effort
i. Other terms - parents/children,
base class
i. If your code calls for a
superclass, you can use one of its subclasses.
ii. Exqample - IOException,
FileNotFoundException
1.
Example
with exceptions – printStackTrace, getMessage