Auto-boxing : primitive type=>object
Unboxing : object=>primitive type
ArrayList<Integer> list =newArrayList<Integer>();//only object is possible but compiler does automaticallylist.add(10);//list.add(new Integer(10));int value =list.get(0);//list.get(0).intValue()