Examveda
Examveda

Which of the following is a generic class in Java?

A. `HashMap`

B. `Integer`

C. `String`

D. `ArrayList`

Answer: Option D


This Question Belongs to Java Program >> Generics In Java

Join The Discussion

Related Questions on Generics in Java