I'm trying to make a window with a multiple choice quiz | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm trying to make a window with a multiple choice quiz

I'm currently learning how to program and I barely know anything, just what I've learned from here and the few things my teacher has shown me. He asked me to make a questionnaire in a window in Eclipse IDE with some multiple choice questions that can be evaluated with the press of a button. I've been able to do it by using several buttons and textfields but I don't know how to do it with the press of a single button. I just want to know if anyone can give some pointers on what to do.

13th Mar 2020, 3:49 AM
Daniel L. Tovar
Daniel L. Tovar - avatar
1 Answer
+ 1
In click event listener of the only button, it will check the user selected choice of a set of radio buttons. It will check whether that option is correct answer for that question, and process the score accordingly. https://youtu.be/nCIjHTlztNg
13th Mar 2020, 6:09 AM
Gordon
Gordon - avatar