Kizspy | Question: 50
(Choose 1 answer)
What is the output of the following code snippet?String fName = "output.txt";
byte[] array = {65, 66, 67};byte[] arr = new byte[3];
try {
Random AccessFile f = new Random Access File(fName, "rw");
f.write(array);f.seek(0);
f.read(arr);
String str1 = new String(arr);
System.out.println(str1);catch (Exception e) { }
System.out.println(e);
}
A. ABC
B. ACB
C. BAC
D. BCA
FUOVER