creating array code example
Example 1: java how to initialize an array
int[] arr = new int[10]; //Can hold 10 elements
Example 2: how to use arrays java
// How to use arrays
// Julian
public static void main(String[] args)
{
// Initialize array
int[] arrNum = {25, 23, 15, 20, 24};
// Recorrerlo
for(int a = 0; a < arrNum.length; a++)
{
System.out.println(arrNum[a]);
}
}
Example 3: how to declare an array
redim Friday(NumFRdays)