Which of the following statements is true?
a. The catch block contains the code that might throw an exception.
b. The try block contains the code that handles the exception if one occurs.
c. You can have many catch blocks to handle different types of exceptions.
d. When a try block terminates, any variables declared in the try block are preserved.
c. You can have many catch blocks to handle different types of exceptions.
You might also like to view...
________ is the process of opening, closing, saving, naming, deleting, and organizing digital files
Fill in the blank(s) with correct word
__________ are examples of thin clients.
a) Applications that require minimal client-side support b) Applications that require minimal server-side support c) Applications that use JSP or servlets d) Applications that do not use JSP and servlets