Question: JAVA multiple choice: QUESTION 13 The exception classes are in packages in the ________. a.)Compiler b.)JVM c.)Java API d.)Ex class QUESTION 14 The IllegalArgumentException class
JAVA multiple choice:
QUESTION 13
The exception classes are in packages in the ________.
a.)Compiler b.)JVM c.)Java API d.)Ex class
QUESTION 14
The IllegalArgumentException class extends the RuntimeException class, and is therefore:
a.) a checked exception class b.) an unchecked exception class c.) never used directly d.) None of these

QUESTION 15 If you want to append data to the existing binary file, BinaryFile.dat, use the following statements to open the file FileOutputStream fstream = DataOutputStream binaryOutputFile = FileOutputStream fstream = DataOutputStream binaryOutputFile = FileOutputStream fstream = DataOutputStream binaryOutputFile = FileOutputStream fstream = DataOutputStream binaryOutputFile = neu FileOutputStream("BinaryFile.dat", true); new DataOut putStream(fstream) new FileOutputStream("BinaryFile.dat", false) new DataOut putStream(fstream) neu FileOutputStream("BinaryFile.dat" new DataOutputStreamifstream, true): neu FileOutputStream("BinaryFile.dat" new DataOutputstream (fstream)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
