February 2014
Beginner
1248 pages
62h 25m
English
11.1 Memory exhaustion, array index out of bounds, arithmetic overflow, division by zero, in-valid method parameters.
11.2 It’s unlikely that methods of classes in the Java API could perform error processing that would meet the unique needs of all users.
11.3 A “resource leak” occurs when an executing program does not properly release a resource when it’s no longer needed.
11.4 The catch blocks for that try statement are skipped, and the program resumes execution after the last catch block. If there’s a finally block, it’s executed first; then the program resumes execution after the finally block.
11.5 The form catch(Exception exceptionName) catches any type of exception thrown in a try block. An advantage is ...
Read now
Unlock full access