java arary code example
Example 1: string array in java methods
String[] vowels = { "a", "e", "i", "o", "u" };
System.out.println(vowels);
System.out.println(Arrays.toString(vowels));
Example 2: array in java
//Metodo 1
type nome = new type[n];
//Metodo 2
type nome[];
nome = new type[n];