PRO192_-_FA_2024_-_Block_5_-_FE_3237.webp
plum_blossom1

PRO192_-_FA_2024_-_Block_5_-_FE_3237.webp

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

Thông tin

Category
PRO192
Thêm bởi
plum_blossom1
Ngày thêm
Lượt xem
3,134
Lượt bình luận
11
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom