Project: Build a Quiz

Use switch-case to check answers in this Java multiple-choice quiz project.

We'll cover the following

Make a simple switch-based quiz:

  • Ask: "What’s the capital of France?"

  • 1 = Berlin, 2 = Madrid, 3 = Paris

  • Use switch to check the answer.

Get hands-on with 1400+ tech skills courses.