how to declare string array in java with values code example
Example 1: array in line java
m(new String[]{"blah", "hey", "yo"});
Example 2: java new string array
String[] myStringArray = new String[3];
String[] myStringArray = {"a", "b", "c"};
String[] myStringArray = new String[]{"a", "b", "c"};
Example 3: how to declare string array in java
string[] abc=new string[]{"hai","hello"}