Kizspy | Question: 50
(Choose 1 answer)
What is the output of the following code snippet:
String fName = "output.txt";int a = 8;
char c = 'a';
try {
Random AccessFile f = new Random Access File(fName, "rw");
f.writelnt(a);
f.writeChar(c);
} catch (Exception e) {
System.out.println(e);
}
File f = new File(fName);System.out.println(f.length());
A. 6
B. 8
C. 5
D. 7
FUOVER