Code example for TreeSet

Methods: add

0
		List<? extends Object> al = new ArrayList<String>();
		List<?> alll = new ArrayList<String>();
		List<? super String> ext = new ArrayList<Object>();
		ArrayList<String> al1 = new ArrayList<String>();
		Collection<String> cs = new ArrayList<String>();
		TreeSet ts = new TreeSet();
		ts.add("a");
		ts.add("A");
		System.out.println(ts);
 
	} 
 
	@Override 
	public void run() { 
		System.out.println("11111");
	} 
}