Skip to content

A simple Java Swing-based Quiz Application with multiple-choice questions, instant answer validation, and automatic next-question transition. Highlights correct/incorrect answers with colors, tracks score, and shows results at the end. Lightweight project to learn Java GUI, event handling, and timers.

Notifications You must be signed in to change notification settings

Huzaifashaikh24313/Quiz-using-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

QuizApp 🎯

A simple Java Swing-based multiple-choice quiz application created by Huzaifa.
This project demonstrates the use of Java Swing GUI components, event handling, and basic logic building.


πŸ“Œ Features

  • Displays multiple-choice questions with four options.
  • Highlights the correct and incorrect answers with green and red backgrounds.
  • Automatically proceeds to the next question after a short delay.
  • Final score displayed in a pop-up message box.
  • Clean and minimal user interface.

πŸ–₯️ Technologies Used

  • Java
  • Swing (JFrame, JButton, JRadioButton, JLabel, JOptionPane)
  • AWT (Layout managers, Colors, Fonts)
  • Event Handling (ActionListener, Timer)

πŸš€ How to Run

  1. Make sure you have Java JDK (8 or above) installed on your system.
  2. Clone or download this repository.
  3. Open a terminal inside the project folder.
  4. Compile the program:
    javac QuizApp.java

About

A simple Java Swing-based Quiz Application with multiple-choice questions, instant answer validation, and automatic next-question transition. Highlights correct/incorrect answers with colors, tracks score, and shows results at the end. Lightweight project to learn Java GUI, event handling, and timers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages