1.

Which of these types cannot be used to initiate a generic type?(a) Integer class(b) Float class(c) Primitive Types(d) CollectionsI have been asked this question during an internship interview.The doubt is from Restrictions on Generics topic in section Generics of Java

Answer» RIGHT option is (c) Primitive Types

Best EXPLANATION: NONE.


Discussion

No Comment Found

Related InterviewSolutions