how to initialize an array with values in java in one line code example
Example: array string java in one line
String[] stringarray = {"string1", "string2", "string3"};
String[] stringarray = {"string1", "string2", "string3"};