If the code in a method can potentially throw a checked exception,then that method must
A) handle the exception
B) have a throws clause listed in the method header
C) Neither a or b
D) Either a or b
Correct Answer:
Verified
Q3: To write data to a binary file
Q7: Look at the following code: FileInputStream fstream
Q10: A(n) _ is an object that is
Q11: To read data from a binary file
Q12: All of the exceptions that you will
Q13: Why does the following code cause a
Q28: This is a section of code that
Q28: In a try/catch construct, after the catch
Q31: When writing a string to a binary
Q56: In the following code, assume that inputFile
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents