Solved

Consider the Following Code Snippet: Public Static Void Reverse(List<?> List)

Question 39

Multiple Choice

Consider the following code snippet: public static void reverse(List<?> list) { . . . }
This method declaration is equivalent to which of the following declarations?


A) public static void reverse(List<? extends E> list) { . . . }
B) public static <List> void reverse(List list) { . . . }
C) public static <D> void reverse(List<D> list) { . . . }
D) public static void reverse(List<? super E> list) { . . . }

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions