We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Could someone explain to me (like I'm a 4-year-old) what the difference between an ArrayList and an ordinary array is?
I know how to use an Array (not to sure how to explain it though) but I'm a little lost with how an ArrayList works and what it can be used for that an ordinary array can't.
Also I'm given this code: https://gist.github.com/anonymous/7499236 for an exercise where I'm asked the following:
"Why are we looping backwards in the Programming Exercise?"
I don't even understand the question, are we looping backwards? Could someone also please explain this to me, because I don't get it at all :(
Thanks in advance!