Solved

Which Code Is the Equivalent of the Following Method Header

Question 63

Multiple Choice

Which code is the equivalent of the following method header? public static <E> void abc(Stack<E> stack) { . . . }
I public static void abc(Stack<?> stack) { . . . }
II public static <Object> void abc (Stack<Object> stack) { . . . }
III public static void abc(Stack stack) { . . . }


A) I
B) II
C) III
D) I and III

Correct Answer:

verifed

Verified

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

Related Questions