PRO192_-_SU_2023_-_Block_5_-_FE_735.webp
successful_man

PRO192_-_SU_2023_-_Block_5_-_FE_735.webp

49
Answer (Choose 1 answer)
A. Test@HexaString People@HexaString where HexaString is a random hexa string (e.g. 15db9742)
B. Test People@HexaString 101
where HexaString is a random hexa string (e.g. 15db9742)
C. t1 p1
D. Test@HexaString 101
where HexaString is a random hexa string (e.g. 15db9742)
}

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);
}

Thông tin

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

Image metadata

Filename
PRO192_-_SU_2023_-_Block_5_-_FE_735.webp
File size
58.7 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom