Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to declare and allocate memory to array in java

int intArray[];    //declaring array
intArray = new int[20];  // allocating memory to array
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #declare #allocate #memory #array #java
ADD COMMENT
Topic
Name
9+9 =