PRO192_-_SP_2024_-_FE_1629.webp
N

PRO192_-_SP_2024_-_FE_1629.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@HexaString 101
where HexaString is a random hexa string (e.g. 15db9742)
B. Test@HexaString 101
where HexaString is a random hexa string (e.g. 15db9742)
C. Test@HexaString People@HexaString where HexaString is a random hexa string (e.g. 15db9742)
D. t1 p1


Exit 49

Thông tin

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

Image metadata

Filename
PRO192_-_SP_2024_-_FE_1629.webp
File size
75.9 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom