Skip to content

An interactive random knock-knock joker with your computer

Notifications You must be signed in to change notification settings

byurudur/knock-knock-joker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knock Knock Joke Generator

Introduction

This Java application tells a random "Knock Knock" joke. The user is prompted to engage with the joke by typing '1' to hear the punchline.

How to Use

  1. Run the program.
  2. Type '1' when prompted to hear a joke.
  3. The program will display a random "Knock Knock" joke.

Technologies Used

  • Java: Programming language used for the application.
  • Scanner: Used for reading user input.
  • Random: Used for selecting a random joke from the list.

Running the Program

  1. Copy the code into Main.java.
  2. Compile the program with:
    javac Main.java
    
  3. Run the program with:
    java Main
    

Enjoy the jokes!

About

An interactive random knock-knock joker with your computer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages