PRO192_-_SU_2024_-_FE_2329.webp
Q

PRO192_-_SU_2024_-_FE_2329.webp

Kizspy | Question: 9
(Choose 1 answer)

What will be the output of the following code?
public class Test1 {
int x;x = 5;
public static void main(String[] args) { Test1 t = new Test1();System.out.println(t.x);
}
A. complie error
B. runtime error
C. 5
D. 0

Thông tin

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

Share this media

Back
Bên trên Bottom