Answer the following statements true (T) or false (F)
1. When the code in a try block may throw more than one type of exception, you need to write a catch clause for each type of exception that could potentially be thrown.
2. The throw statement informs the compiler that a method throws one or more exceptions.
3. The ability to catch multiple types of exceptions with a single catch clause is known as multi-catch and was introduced in Java 7.
4. In versions of Java prior to Java 7 each catch clause could handle only one type of exception.
1. TRUE
2. FALSE
3. TRUE
4. TRUE
You might also like to view...
To apply shape tweening to instances, text blocks, groups, and bitmap images, you need to first use the ____________________ command from the Modify menu.
Fill in the blank(s) with the appropriate word(s).
How can you isolate a mobile device from incoming signals?
What will be an ideal response?