Array x ArrayList

0

Yesterday I did a question on using a Two-Dimensional Array in a dynamic way, so I ended up receiving an answer to use an ArrayList , and this served perfectly for my case, but from that generated the doubt, when should I use one or the other?

Even in simple cases, where it would not be necessary to modify the data, I realized that the ArrayList served me as well as a normal Array , so I'd like to know, when is it necessary or right to use an Array than an ArrayList ?

    
asked by anonymous 06.04.2018 / 15:08

0 answers