heterogeneous elements in java code example Example: heterogeneous objects in java new Integer(2); //this is an hoterogeni