Disadvantages of container o Cannot hold primitives OHave to wrap it o Lose type information when put object into container OEverything is just Object type once in container o Have to do cast when get it out OYou need to remember what's inside o Java do run time type check OClassCastExceptionDisadvantages of container lCannot hold primitives ¡Have to wrap it lLose type information when put object into container ¡Everything is just Object type once in container lHave to do cast when get it out ¡You need to remember what’s inside lJava do run time type check ¡ClassCastException