String[] mystr = {"c++", "java", "php"}
 
int leng = mystr.length
 
System.out.format("The Java array length is %d", leng);