example of array of string in java
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: how to declare string array in java
string[] abc=new string[]{"hai","hello"}