PRO192_-_FA_2024_-_Block_5_-_FE_3237.webp
plum_blossom1

PRO192_-_FA_2024_-_Block_5_-_FE_3237.webp

Kizspy | Question: 11
(Choose 1 answer)
What is the output of the code snippet?
public class Test {
public static void main(String[] args) {
int x = -1;
String y = x+3;
System.out.format("%d %s",x,y);
}
}
A. Compile error
B. -1-13
C. -14
D. -12
FUOVERFL

Thông tin

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

Share this media

Back
Bên trên Bottom