Primitive vs Object Types - Computer Science

Primitive Values vs, Objects. ... We can wrap the value into an integer object, and store this object in the vector: v.addElement (new Integer (4)) To extract the primitive value from the vector, we must first access the corresponding object, and then use its getter method to unwrap the primitive value: ................
................