The generic method

```
public static void displayArray(E[] array)
{
for (E element : array)
System.out.println(element);
}

```

can be passed
A) an array whose element type is Object
B) an array whose element type is E
C) an array whose element type is any superclass of Number
D) an array whose element type is Integer

D) an array whose element type is Integer

Computer Science & Information Technology

You might also like to view...

When browsers render an element with multiple backgrounds, the images that are listed last are the first ones loaded.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is considered a flooded broadcast IP address?

A. 200.15.6.255 B. 10.255.255.255 C. 255.255.255.255 D. FFFF.FFFF.FFFF

Computer Science & Information Technology