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

PRO192_-_SU_2024_-_Block_5_-_FE_2618.webp

Kizspy | Question: 16
(Choose 1 answer)
What is the output of the following code snippet?
class Test{
void method(int x){System.out.print(x*x);
} void method(int...a){
System.out.print(a.length);}
public static void main(String[] args){Test t = new Test();
t.method();t.method(2);
t.method(3, 4);
}
}
A. 042
B. 034
C. 234
D. 242
FUOVER

Thông tin

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

Share this media

Back
Bên trên Bottom