Kizspy Question: 48
(Choose 1 answer)
FJOVERFLOW.COM
What is the output of the following code snippet:
String fName="test.txt";
FileInputStream fs = new FileInputStream(fName);
byte[] list = new byte[100];
fs.read(list,0,4);
System.out.format("%c%n", list [1]);
If test.txt has the content as follows:
01234567890
A. 1
B. 0
C. 2
D. 3