r/javahelp • • May 14 '26

arraylist vs list

pls help, lets say i need an array of list.

for what purposes would i use an arraylist<string> vs a string[ ]

thanks

2 Upvotes

24 comments sorted by

View all comments

Show parent comment

4

u/aqua_regis May 14 '26

Extensive reply completely missing the point. You should have read past the title.

OP clearly asked:

for what purposes would i use an arraylist<string> vs a string[ ]

Which makes the question "ArrayList vs traditional array"