Why classes studying before arrays? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why classes studying before arrays?

20th Oct 2016, 1:53 PM
Veller
Veller - avatar
6 Answers
+ 12
Because arrays are objects of the Array class :)
22nd Oct 2016, 1:15 PM
James Flanders
+ 11
because array is a class. so it has properties and methods which you cannot refere as such if you don't know what a class is. welcome to OOP ☺
24th Oct 2016, 11:13 AM
Klodian Lula
Klodian Lula - avatar
+ 2
why not?
22nd Oct 2016, 12:10 PM
Oliver Brown
Oliver Brown - avatar
+ 1
agree with James ;))))
22nd Oct 2016, 1:21 PM
Oliver Brown
Oliver Brown - avatar
0
oh, thanks. I asked this because we learned arrays before classes in our university
23rd Oct 2016, 3:30 PM
Veller
Veller - avatar
- 5
That's just how Sololearn teach. There's not much we can do about it unfortunately.
20th Oct 2016, 2:03 PM
Jayce Rushton