Array or ArrayList?

  • Thread starter Thread starter learn
  • Start date Start date
L

learn

Guest
Hi,

If I want to store and access datas with the same type, say with Integer type, will Array faster than ArrayList?
 
I would have thought so. ArrayLists are better suited for simple collections where you need to know if it already contains a value.
 
Back
Top