Archive for August 20th, 2007

The small java puzzle

August 20, 2007 | development, java | No Comments

Given the following code, what will be the outcome? 123456789101112import java.util.Set; import java.util.TreeSet; public class A {     public static void main(String[] args) {       Set sets = new TreeSet();       sets.add [...]