The method header is left blank in the following code. Fill in the header.
```
public class GenericMethodDemo {
public static void main(String[] args ) {
Integer[] integers = {1, 2, 3, 4, 5};
String[] strings = {"London", "Paris", "New York", "Austin"};
print(integers);
print(strings);
}
__________________________________________ {
for (int i = 0; i < list.length; i++)
System.out.print(list[i] + " ");
System.out.println();
}
}```
a. public static void print(Integer[] list)
b. public static void print(String[] list)
c. public static void print(int[] list)
d. public static void print(Object[] list)
e. public static
de
You might also like to view...
The Form Wizard makes the process of creating a form easy
Indicate whether the statement is true or false
Hierarchy of User Needs is a pyramid that examines how users find value in design pieces. List the five levels of design that are included in the pyramid
What will be an ideal response?