ArrayList , in general any Collection can hold only Objects. In this ArrayList<QuizCard> , QuizCard must be user defined class.By the way is typo error or missed importing the class QuizCard ? QuizCard class must be available in teh classpath .
posted 7 years ago
The compiler is not able to figure out what QuizCard is. You'd have to import it...