0
Array, arraylist, list? @.@
Can someone explain what the difference is between an array, arraylist and a list? I can't seemto figure it out.
2 odpowiedzi
+ 3
hello :)
arrays have fixed size but arraylists have dynamic size. also arrays can be created of both reference types (Integer, Double, ...) and primitive types (int, double, ...) but arraylist can not be of primitive type and you can only create and arraylist from reference types.
list is an interface which arraylist implements. you can not create a list directly since it is an interface
0
Aw, ok. Now I get it. Thank you very much :3