Click here to Skip to main content
15,893,644 members
Articles / Programming Languages / Java / Java SE / J2EE

How to Create a Random Joke Generator in Java

Rate me:
Please Sign up or sign in to vote.
4.33/5 (2 votes)
14 May 2010CPOL1 min read 23.3K   1   10  
How to create a Random Joke Generator in Java
  • javajoke.zip
    • javajoke
      • .classpath
      • .project
      • bin
        • joke.class
        • jokes
          • BLUNDERS.TXT
          • EMAILJNK.TXT
          • FEMALE.TXT
          • FEMCOMP.TXT
          • GOLF.TXT
          • KEEPMIND.TXT
          • LIFEFACT.TXT
          • MATHJOKE.TXT
          • NERD.TXT
          • RULES.TXT
          • WEBTERM.TXT
      • src
        • joke.class
        • joke.java
        • jokes
          • BLUNDERS.TXT
          • EMAILJNK.TXT
          • FEMALE.TXT
          • FEMCOMP.TXT
          • GOLF.TXT
          • KEEPMIND.TXT
          • LIFEFACT.TXT
          • MATHJOKE.TXT
          • NERD.TXT
          • RULES.TXT
          • WEBTERM.TXT
"You're an E-mail Junkie if.."
" You wake up at 3 a.m. to go to the bathroom and stop to check your  e-mail on the way back to bed."
" You get a tatoo that reads This body best viewed with Netscape  Navigator 1.1 or higher."
" You name your children Eudora, Mozillia and Dotcom."
" You turn off your modem and get this awful empty feeling, like you  just pulled the plug on a loved one."
" You spend half of the plane trip with your laptop on your  lap...and your child in the overhead compartment."
" You decide to stay in college for an additional year or two, just  for the free Internet access."
" You laugh at people with 9600-baud modems."
" You start using smileys in your snail mail."
" Your hard drive crashes. You haven't logged in for two hours.  You start to twitch. You pick up the phone and manually dial your ISP's access number.   You try to hum to communicate with the modem.... And you succeed."
" You find yourself typing com after every period when using a word processor.com"
" You refer to going to the bathroom as downloading."
" You start introducing yourself as JohnDoe at AOL dot com."
" All of your friends have an @ in their names."
" Your cat has its own home page."
" You can't call your mother...she doesn't have a modem."
" You check your mail. It says no new messages. So you check it  again."
" Your phone bill comes to your doorstep in a box."
" You don't know what sex three of your closest friends are, because they have neutral nicknames and you never bothered to ask."
" You move into a new house and decide to Netscape before you  landscape."
" You tell the cab driver you live at   http://1000.edison.garden/house/brick.html."
" You start tilting your head sideways to smile."

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Sweden Sweden
About me:
I attended programming college and I have a degree in three most famous and successful programming languages. C/C++, Visual Basic and Java. So i know i can code. And there is a diploma hanging on my wall to prove it.
.
I am a professional, I am paid tons of cash to teach or do software development. I am roughly 30 years old .

I hold lectures in programming. I have also coached students in C++, Java and Visual basic.

In my spare time i do enjoy developing computer games, and i am developing a rather simple flight simulator game
in the c++ programming language using the openGL graphics libray.

I've written hundreds of thousands of code syntax lines for small simple applications and games.

Comments and Discussions