Question: JAVA multiple choice: 16.)What will be the result of the following statements? a.)The inFile variable will reference an object that is able to read random
JAVA multiple choice:
16.)What will be the result of the following statements?

a.)The inFile variable will reference an object that is able to read random access data from the Input.dat file.
b.)The inFile variable will reference an object that is able to read only text data from the Input.dat file.
c.)The inFile variable will reference an object that is able to read binary data from the Input.dat file.
d.)The inFile variable will reference an object that is able to write binary data to the Input.dat file.
17.)Unchecked exceptions are those that inherit from:
| a.)the Exception Class or the RuntimeException class | ||||||||||||||
| b.)only the Error class | ||||||||||||||
| c.)the Error class or the Exception class | ||||||||||||||
| d.)the Error class or the RuntimeException class 18.)A(n) ________ is an object that is generated in memory as the result of an error or an unexpected event.
|
FileInputStream fstream- new FileInputStream("DataIn.dat") DataInput Stream inF i le = new DataInputStream (fstream)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
