Given:<br /> <img src="https://nimg.ppkao.com/2018-08/longzhengxuan/2018080211101881108.jpg?sign=fa81039874ead5e88c49ef6bb0570478&t=62d1c3a1" /><br /> Which code, inserted at line 4, guarantees that this program will output [1, 2]()?
A、Set set = new TreeSet();
B、Set set = new HashSet();
C、Set set = new SortedSet();
D、List set = new SortedList();
E、Set set = new LinkedHashSet();