PRO192_-_C1_-_FE_-_SU_2023_391.webp
H

PRO192_-_C1_-_FE_-_SU_2023_391.webp

(Choose 1 answer)
1. public class Test {
23456789 9.}
public String foo(int x, int y) {
return "AA";
}
public String foo(int... vals) { return "BB":
}
Given:
25. Test a=new Test();
26. System.out.println(a.foo(4, 5));
What is the result?
A. Line 26 prints "AA" to System.out.
B. Line 26 prints "BB" to System.out.
C. An exception is thrown at line 26 at runtime.
D. Compilation of class A will fail due to an error in line 6.
Edt 22

Thông tin

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

Image metadata

Filename
PRO192_-_C1_-_FE_-_SU_2023_391.webp
File size
62.9 KB
Dimensions
1713px x 893px

Share this media

Back
Bên trên Bottom