declaring a string array code example
Example: java string array
// array of 5 strings
String[] arr = new String[5]
arr[0] = "Happy";
arr[1] = "Birthday";
arr[2] = "To";
// etc...
// array of 5 strings
String[] arr = new String[5]
arr[0] = "Happy";
arr[1] = "Birthday";
arr[2] = "To";
// etc...