1.

Which of these is wildcard symbol?(a) ?(b) !(c) %(d) &I have been asked this question in an interview for internship.This question is from Wildcards in section Generics of Java

Answer»

The correct choice is (a) ?

To elaborate: In GENERIC code, the question MARK (?), called the WILDCARD, represents an unknown TYPE.



Discussion

No Comment Found

Related InterviewSolutions