PRO192_-_C2_-_FE_-_SU_2023_398.webp
T

PRO192_-_C2_-_FE_-_SU_2023_398.webp

(Choose 1 answer)
1. public class Test {
2. public String foo(int x, int y) {
3.345678 c
return "AA";
4. } 5.
6. public String foo(int... vals) {
return "BB":
8.}9.}
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.
Exit 43

Thông tin

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

Image metadata

Filename
PRO192_-_C2_-_FE_-_SU_2023_398.webp
File size
52.6 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom