Q11.webp
G

Q11.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 result;
System.out.println(result = true? 100 : 5);
FJOVERFLOW.COM
A. 100
B. 5
C. O
D. Runtime error.

Thông tin

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

Share this media

Back
Bên trên Bottom