I have a class called `Questions` which has two subclasses `multipleChoice` and `FillInBlank`. These two sub-classes each have unique instance variables.

Now let's say I have an `ArrayList <Questions> questions` which store both types of questions (`multipleChoice` and `FillInBlank`).

My question is: When I iterate through the questions ArrayList, how do I access particular instance variables from the `multipleChoice` class and the `FillInBlank` class? I am having trouble because the type of the arraylist is type questions.