PRO192_-_C2_-_RE_-_SU_2023_558.webp
N

PRO192_-_C2_-_RE_-_SU_2023_558.webp

Answer (Choose 1 answer)
}

Which could be the possible output of the below program?
class People {
int id;
People(int id) {
this.id = id;
}
@Override
public String toString() {
return id;
}
public class Test {
public static void main(String[] args) {
Test t1 = new Test();
People p1 = new People (101);
System.out.println(t1 + " " + p1);}
A. Test People@7852e922 101
B. Test@7852e922 101
C. Test@7852e922 People@ 6427c652
D. t1 p1
El 39

Thông tin

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

Image metadata

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

Share this media

Back
Bên trên Bottom