Skip to content

Commit af2d499

Browse files
authored
Update README.md
1 parent b3a6178 commit af2d499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Returns a boolean that is true if all the questions are answered, and false if n
208208
Returns a decimal value of how many answers are correct.
209209

210210
### `getAnswers()`
211-
Returns an Object ArrayList filled with the selected answers. (1 for option 1, 2 for option 2, 3 for option 3, and 4 for option 4...). You can loop through the arraylist using `for(Object answer : answers)` and you can try to cast answer to a specific object, like `(int) answer`.
211+
Returns an Object ArrayList filled with the selected answers. You can loop through the arraylist using `for(Object answer : answers)` and you can try to cast each answer to a specific object, like `(int) answer`.
212212

213213
### `getQuestion(int index)`
214214
Returns a view that can either be a MultipleChoiceQuestion or YesOrNoQuestion. You can cast the view to a specific type of question and do any methods you want with it.

0 commit comments

Comments
 (0)