int j = 2;int j = 2;switch (j) case 2:System.out.println(value is two);case 2 +
Xuất bản: 03/11/2020 - Cập nhật: 03/11/2020 - Tác giả: Hà Anh
Câu Hỏi:
switch (j) {
case 2:
System.out.println("value is two");
case 2 + 1 : System.out.println("value is three");
break;
default:
System.out.println("value is " + j);
break;
}
Chọn phát biểu đúng cho đoạn mã sau: