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 .
Joined: May 20, 2004
The compiler is not able to figure out what QuizCard is. You'd have to import it...