Solved

What Will Be the Result of the Following Statements? FileInputStream

Question 18

Multiple Choice

What will be the result of the following statements? FileInputStream fstream = new FileInputStream("Input.dat") ;
DataInputStream inFile = new DataInputStream(fstream) ;


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 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.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions