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

Computer Science & Information Technology

You might also like to view...

Cable modems provide

a. a dedicated pipe to the Internet b. switched B-channels to the Internet c. more bandwidth than an analog phone line, but shared with others in the neighborhood d. a high speed bidirectional service

Computer Science & Information Technology

Inspect the fields in the UDP headers. Which fields in the headers do not change in different packets?

What will be an ideal response?

Computer Science & Information Technology

Describe tiles

What will be an ideal response?

Computer Science & Information Technology

When creating a Twitter feed widget, you can control the dimensions by setting the height of the widget. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology