4 ms·
>>Primitive types have been available since the creation of Java. It's up to the programmer to use boxed types or not. You can't use a primitive in a collectio
by andy_boot 15y ago
>>Primitive types have been available since the creation of Java. It's up to the programmer to use boxed types or not.
You can't use a primitive in a collection: eg HashMap / ArrayList