+ 2
need more explanation about array length
3 ответов
+ 5
it counts each (comma-separated) value inside your [bracket-closed] array!
+ 2
the array.length method prints out the number of values you have in your array
0
Array is a collection of same type variables referred by the same name. Each element of array can be accessed via index. In Java, array index always integer starting from 0. Here is a picture to illustrate an array... http://javabasictoadvanced.blogspot.co.id/2016/05/array.html