what is the output of the following code snippet? treeset set = new treeset(); set.add("b"); set.add("a"); set.add("d"); set.add("a"); for(string s : set) { system.out.print(s + " "); }
0
what is the output of the following code snippet? treeset set = new treeset(); set.add("b"); set.add("a"); set.add("d"); set.add("a"); for(string s : set) { system.out.print(s + " "); }