Q14
In Java, which exception is thrown when there is a type mismatch due to generics?
A.
`MismatchedException`
B.
`TypeMismatchException`
C.
`NullPointerException`
D.
`ClassCastException`
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board