KodHajen
fredag 1 juni 2012
Arraylist vs array
Lecture 18.
Arraylist
+ dynamic resized
+ other operations
- less efficient than an array
- syntax is bulky (more errors can occur)
- pre version 5.0
If you have a
fixed size
(almost)
always use an array
!
Senaste inlägg
Äldre inlägg
Startsida