Answers for "how to store value in array at declaration java"

10

how to initialize array in java

int[] arr = new int[5];	 // integer array of size 5 you can also change data type
Posted by: Guest on May-15-2020
1

how to make a fixed size array in java

dataType[] arrayRefVar = new dataType[arraySize];
Posted by: Guest on May-22-2020

Code answers related to "how to store value in array at declaration java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language