+ 1
Explain me arrays plzzz..
2 Answers
+ 14
Lists of Items with same data-type and immutable length
+ 4
Here's an example if you're still stuck. Let's say you want to create a game with 20 enemies. Sure you can create 20 enemies individually (something like enemy1, enemy2, enemy3... all the way up to enemy20), or you can just create an enemy array (like enemy[20]). It saves a lot of time and memory when you want to create items with the same type. Hope it helps ^_^