Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to find length of array in java

let coolCars = ['ford', 'chevy'];
//to find length, use the array's built in method
let length = coolCars.length;
//length == 2.
 
PREVIOUS NEXT
Tagged: #find #length #array #java
ADD COMMENT
Topic
Name
3+9 =