"d is a String, you can not put a CD into itBut really really not a bad idea to put Object of different tpe in the same ArayList" . . . .