PRO192_-_SU_2024_-_Block_5_-_FE_2618.webp
Quốc Hùng2

PRO192_-_SU_2024_-_Block_5_-_FE_2618.webp

Kizspy | Question: 9
(Choose 1 answer)
What is the output of the code snippet?
public class Test {
public static void main(String[] args) {
int result;System.out.println(result = true? 100: 5);}
}
A. 100
B. 5
C. 0
D. Runtime error.

Thông tin

Category
PRO192
Thêm bởi
Quốc Hùng2
Ngày thêm
Lượt xem
4,105
Lượt bình luận
19
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom