Java Array Size
Chapter:
Miscellaneous
Last Updated:
30-03-2017 19:35:07 UTC
Program:
/* ............... START ............... */
public class JavaArraySize {
public static void main(String args[]) {
int[] intArray = new int[] { 5, 6, 7, 9, 5 };
System.out.println(intArray.length);
}
}
/* ............... END ............... */
Output
Tags
Array Size, Miscellaneous