java asign values to array inline code example
Example 1: declare array java inline
new String[]{"blah", "hey", "yo"};
Example 2: array string java in one line
String[] stringarray = {"string1", "string2", "string3"};
new String[]{"blah", "hey", "yo"};
String[] stringarray = {"string1", "string2", "string3"};