Solved

Consider the Following Code Snippet: Public Static ≪T> Void Fun(T[]

Question 16

Multiple Choice

Consider the following code snippet: public static <T> void fun(T[] t) { . . . }
Erasure by the compiler of method fun will generate which result?


A) public static <T> void fun(Object[] t) { . . . }
B) public static <Object> void fun(Object t) { . . . }
C) public static void fun(Object[] t) { . . . }
D) public static void fun(Object t) { . . . }

Correct Answer:

verifed

Verified

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

Related Questions