+ 2

array length

I dont understand anything from this lesson. Can anyone explain for me

25th Sep 2018, 4:25 AM
Sanaa Hareb
Sanaa Hareb - avatar
2 Answers
+ 5
length arrays (int[], double[], String[]) -- to know the length of the arrays length is not a method, so it will not work on objects. It only works on arrays.
25th Sep 2018, 4:44 AM
Daniel (kabura)
Daniel (kabura) - avatar
25th Sep 2018, 12:37 PM
Joshua Martin Fontanilla
Joshua Martin Fontanilla - avatar