PRO192_-_C2_-_RE_-_SU_2023_558.webp
N

PRO192_-_C2_-_RE_-_SU_2023_558.webp

Answer (Choose 1 answer)
What is the output when you try to compile and run the following program?
import java.util.*;
public class Main {
public static void main(String argv[]) {
TreeSet<Integer> t = new TreeSet<Integer>();
t.add(3);
t.add(2);
t.add(4);
t.add(2);
t.add(5);t.add(2);
for(int x:t) System.out.print(x + " ");
System.out.println();
}
}
A. 2 3 4 5
B. 32425
C. 222345
D. 3245
E. 3 2 4 252

E50

Thông tin

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

Image metadata

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

Share this media

Back
Bên trên Bottom