Latest Update
When you have actions you must perform at the end of a try ...catch sequence, you can use a
___________block. ✔️✔️finally
try...catch blocks are less flexible than sequences of if statements ✔️✔️False
If a method throws an exception that it will not catch but that will be caught by a different
method, you must also use the keyword_________followed by an Exception type in the
method header ✔️✔️throws
________exceptions are the type that programmers should anticipate and from which
programs should be able to recover ✔️✔️Checked
Using the throws clause means that the method will throw an exception ✔️✔️false
The memory location known as the _______ is where the computer stores the list of method
location to which the system must return ✔️✔️call stack
An ____ is a Java language feature that can help you detect logic errors and debug a program
✔️✔️assertion
asset statement ✔️✔️used to create an assertion
Assertion ✔️✔️a Java language feature that can help you detect logic errors and debug a
program
, Call stack ✔️✔️the memory location where the computer stores the list of method locations to
which the system must return
catch block ✔️✔️a segment of code that can handle an exception that might be thrown by the try
block that precedes it
Catch or specify requirement ✔️✔️the Java rule that checked exceptions require catching or
declaration
Checked exceptions ✔️✔️those that a programmer should plan for and from which a program
should be able to recover. They are not RuntimeExceptions; the compiler checks that these
exceptions are caught or specified
Crash ✔️✔️a program that ended prematurely with an error
Error Class ✔️✔️represents more serious errors than the Exceptions class-those from which your
your program usually cannot recover
Exception ✔️✔️an unexpected or error condition
Exception class ✔️✔️comprises less serious errors than those from the Error class; the Exception
class represents unusual conditions that arise while a program is running and from which the
program can recover
Exception handling ✔️✔️an object-oriented technique for managing errors
Exception Specification ✔️✔️the practice of using the keyword throws followed by an Exception
type in the method header. If a method throws a checked Exception that it will not catch but
that will be caught by a different method, you must use an exception specification