Solved

Look at the Following Code: FileInputStream Fstream =

Question 37

Multiple Choice

Look at the following code: FileInputStream fstream =
New FileInputStream("MyInfo.dat") ;
DataInputStream inputFile =
New DataInputStream(fstream) ;
This code can also be written as:


A) FileInputStream inputFile = new FileInputStream(new DataInputStream("MyInfo.dat") ) ;
B) DataInputStream inputFile = new DataInputStream(new FileInputStream("MyInfo.dat") ) ;
C) FileInputStream fstream = new DataInputStream("InputFile.txt") ;
D) DataInputStream inputFile = new DataInputStream("InputFile.txt") ;

Correct Answer:

verifed

Verified

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

Related Questions