(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[]) {
B. 2345
t.add(3);
t.add(2);
TreeSet<Integer> t = new TreeSet<Integer>();
t.add(4);
C. 222345
t.add(2);
D. 324252
t.add(5);t.add(2);
E. 3245
for(int x:t) System.out.print(x + " ");
System.out.println();
}
}
A. 32425
Exit 14