Create a multiple-choice test - Java Example

Опубликовано: 02 Ноябрь 2024
на канале: Begin Coding Fast
24,365
317

The program creates a multiple-choice game. The question order and the choice order can be different for each play. It remembers the number of correct answers a user has got. Because the choice order can be varied, the correct answer option has to be varied accordingly.

You'll learn most by trying my code while watching the video.

Please post your improvement on my code on the comments.

Concepts:
Class and method
Array
ArrayList
indexOf method

Playlist of my Java course
   • [14 hours] Java tutorial for beginner...  

Playlist of my Java examples
   • Java projects for beginners | Java pr...