PRO192_-_SP_2024_-_RE_1741.webp
Izumi991

PRO192_-_SP_2024_-_RE_1741.webp

  • Media owner Izumi991
  • Ngày thêm
(Choose 1 answer)
1. public class Test {
2. public String foo(int x, int y) {
3.344. }
5.
return "AA";
6. public String foo(String[] arr) {
7.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.


Q: 19

Thông tin

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

Image metadata

Filename
PRO192_-_SP_2024_-_RE_1741.webp
File size
192.4 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom