Q13.webp
vanhoa2005

Q13.webp

Question: 13
(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

Thông tin

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

Share this media

Back
Bên trên Bottom