Introduction
Creating an ArrayList with different types of Objects can be seen as Generic. In an ArrayList you can put any Object you want. Strings, Arrays and whatever you can think off:
List<?> list = new ArrayList<?>(); list.add(new Integer(123)); list.add(new String ("Hello")); list.add(new String[] {"One","Two","Three"); list.add new java.util.Date();