Why we cannot use primitive data type in arraylist?
Answers
Answered by
0
Because Arraylist is generic and in Java we can only use Class and array in generics and not primitives.
Thanks
Thanks
Similar questions