Is better option prefer lists or arrays?

Channel:
Subscribers:
53,800
Published on ● Video Link: https://www.youtube.com/watch?v=Ro_065zAo_c



Duration: 0:39
4 views
0


Is better option prefer lists or arrays?
Mar 6, 2010

An ArrayList is better than Array to use when you have no knowledge in advance about elements number. ArrayList are slower than Arrays. So, if you need efficiency try to use Arrays if possible. Lists can easily grow in size, and you can add and remove elements in the middle of the list easily.


··········

“Be competent, be more skilful than others. Here you will find the answer to all of your questions.”

✋ The purpose of our channel is to create EDUCATIONAL content. That was our intention with this video as well. We would like to give you COMPLETE INFORMATION on the subject, so unfortunately we can also discuss elements that may be hurtful to people.







Tags:
Is better option prefer lists or arrays?
frequently asked question
question and answer
answer