Stringcannot expand its size. You can initialize it once giving it a permanent size:
 myStringArray = [1 ](); myStringArray[ ] = ;
ArrayListis variable in size. You can add and remove items dynamically:
myStringArrayList =ArrayList (); myStringArrayList.( ); myStringArrayList. (
1);Furthermore, we can sort, clear, addall, and a lot more functions and can use while using an ArrayList.