Answer:
B) String[ ] names = {"Huey", "Duey", "Louie"};
Explanation:
In Java programming language, arrays are declared by first Writing the data type of the elements that will be stored in the array, in this case String. This is followed by square brackets indicating that the variable is an array, followed by the array name which must follow the rules of naming variables. The example below is a valid declaration of an array.
String[ ] names;
Next in java we can initialize the elements either by using the new keyword and specifying the length of the array to create the array in memory like this;
String[ ] names = new String[3];
Or we initialize by assigning values in curly braces seperated by commas like in the question ablove.