In Java generics, what is the purpose of the `` syntax?
A. It allows any type to be used as a generic
B. It specifies an enum type
C. It specifies a generic exception type
D. It restricts the generic type to be a subclass of `SomeClass`
Answer: Option D

Join The Discussion