6 Answers
New Answerbecause 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 ☺
That's just how Sololearn teach. There's not much we can do about it unfortunately.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message