PRO192_-_C2_-_RE_-_SU_2023_558.webp
N

PRO192_-_C2_-_RE_-_SU_2023_558.webp

(Choose 1 answer)

Consider the following classes definition:
//file named Base.java
1. public class Base {
2. public Base(int j) {
3. } 4.1
//file named Test.java
1. public class Test extends Base {
2.public Test(int j) {
super(j);
}
public Test(int j, int k) {
345678 3.8.
super(j, k);
}
} Which of the following is legal calls to construct instances of the Test class?
A. Test t = new Test();
B. Test t = new Test(1);
C. Test t = new Test(1, 2, 3);
D. Test t = new Test;
E27

Thông tin

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

Image metadata

Filename
PRO192_-_C2_-_RE_-_SU_2023_558.webp
File size
56.2 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom