Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Its two pages pls CHAPTER 12 Exception Handling CHAPTER 12 Review Questions 1. I

ID: 3695448 • Letter: I

Question


Its two pages pls CHAPTER 12 Exception Handling CHAPTER 12 Review Questions 1. In object-oriented programming terminology, an unexpected or error condition is a(n)- a. anomaly b. aberration All Java Exceptions are a. Errors b. RuntimeExceptions c. deviation d. exception 2 . C. Throwables d. Omissions 3. Which of the following statements is true? a. Exceptions are more serious than Errors. b. Errors are more serious than Exceptions. c. Errors and Exceptions are equally serious. d. Exceptions and Errors are the same thing. 4. The method that ends the current application and returns control to the operating system is a. System.end ( b. System.done c. System.exito d. System.abortO 5. In object-oriented terminology, youa ogy, you a procedure that might not complete correctly. a try b. catch c. handle d. encapsulate A method that detects an error condition or Exception Exception. a. throws b. catches an c. handles d. encapsulates 7, A try block includes all of the following elements except . a b c. d. the keyword try the keyword catch curly braces statements that might cause Exceptions

Explanation / Answer

1. d

2. b

3. d

4. c

5. b

6. a

7. d

8. b

9. b

10. c

11. d

12. c

13. c