PRO192_-_FA_2024_-_FE_2969.webp
B

PRO192_-_FA_2024_-_FE_2969.webp

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

Thông tin

Category
PRO192
Thêm bởi
Bích Thủy
Ngày thêm
Lượt xem
4,249
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom