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...

load factor

What will be an ideal response?

Computer Science & Information Technology

Logic bombs are platonic

Indicate whether the statement is true or false

Computer Science & Information Technology

Discuss how to use test equipment to detect hardware problems.

What will be an ideal response?

Computer Science & Information Technology

List and briefly describe at least three general guidelines for editing a photo.

What will be an ideal response?

Computer Science & Information Technology