Answers for "fixed array size java"

2

how to create an array without knowing the size java

String[] array = scan.nextLine().split(" ");
Posted by: Guest on October-30-2021
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 "Java"

Java Answers by Framework

Browse Popular Code Answers by Language