All projects

Java fundamentals

Alarm Clock

A command-line alarm clock in pure Java: scheduling, countdown, looping audio and snooze.

  • Individual project

01The product

What it does

  • Scheduling with ScheduledExecutorService and a live countdown.
  • Looping WAV sound through the Java Sound API, 5-minute snooze.
  • Falls back to system beeps if audio playback fails.

02Wrap-up

Takeaways

What this project proves

Concurrency, time calculations and audio resource management.

03Technology

Full stack

  • Java
  • java.util.concurrent
  • javax.sound.sampled