How to compare ArrayList with a dynamic array

Is it ArrayListjust an interface for a dynamic array? Or are they the same thing?

like: ArrayListmatches a dynamic array, HashMapmatches Map?

except that I don't see the Java API for something like a dynamic array, if it isn't ArrayList?

in this case they will be the same!

supposedly the same thing?

+4
source share
5 answers

. . , ArrayList , , , . , , Java ().

, , ( ). , , . , , .

Java Vector, , , .: ArrayList Vector?.

+1

ArrayList , , List. classes . , arrays - .

+2

, , List . ArrayList, .

java-, , ArrayList , Map ( HashMap, ) "" .

+1

ArrayList - List.
, , , .

+1

" " ++, Java . ArrayList - . - .. .

+1
source

All Articles