PRO192_-_SU_2024_-_RE_2466.webp
B

PRO192_-_SU_2024_-_RE_2466.webp

Kizspy | Question: 16
(Choose 1 answer)
What is the output of the following code snippet?
public class Main {
public int a;public long b;
public void test(long b) {
} System.out.println("long b");
public void test(int a) { System.out.println("int a");}
public static void main(String[] args) { Main e=new Main();
}
e.test(9*1000000000);
FUOVER
}
A. int a
B. long a
C. long b
D. Runtime error

Thông tin

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

Share this media

Back
Bên trên Bottom