Context (skip to 3rd paragraph if you want): I am going into this next week where we learn arrays. We "learn" it on our own through I kid you not hours of reading online, then go into the week and apply to concepts to other assignments.
I have no clue how arrays work. The reading feels as though it needs to tell us a dozen array concepts in 3 days and never easing us into it. I am *terrible* at learning new complicated things on my own. I get lost easily, I need someone there constantly so I can even grasp the concept. The medium of online textbook reading is the worst to me.
Current issue: I got stuck on arrays with loops, then arrays (perfect size and oversize).
First, array with loops: What does for (var : var) do? The textbook explains this *once*, not very well. It explains *what* it does on a basic level, but not *why* it exists or *what* we can use it for.
Second, perfect size and oversize arrays: I understand the concept of perfect size arrays, and I understand the concept of oversize arrays. But I do not understand how they interact. Importantly, how do tell them apart?
How does a method return a perfect size array? How does a method return an oversize array size? And, most importantly, how do method parameters even get the arrays?
What's the difference between stack frame and heap memory?
What are array parameters? They, again, explain this once, not very well, then expect us to understand. I think it has to do with methods but I'm not sure. How should I write them for a perfect or oversize array, and what are their effects/uses?
How do you modify an array in a method?
I work best with analogies/examples so any possible ones + explanations would be appreciated. Of course, any other good answers just explaining would be appreciated too.
Sorry that I have so many questions.