I am composing a lesson with some short answer questions for a JAVA course that I am running at a K12 school. I am busy working on a section on arrays and the question in particular that is giving me problems is a short answer question.
The short answers that I would like to have as answers are:
int*[] dataArray*=*new int*[*total*]*;
and:
*
Where the first option is correct (the stars are there to allow for white-space differences) and the second option is the catchall for incorrect answers.
I'm not sure if this is working, or even if I have gone about it correctly!
When I test the question (and give it a correct answer), I get the following error:
Does anyone have any ideas?
Many thanks!
Philip Norton