• try {
• }
• catch() {
• {
• finally {
• code here runs whether or not try
works
• }
•Copy1.java 53, 61: close files whether or not there was
an error in processing
(underlying OS may limit number of files
you may have open)
•try (lines 51, 63) since even closing a file may throw
an Exception
•