/100-ways-to-print-HelloWorld-in-java

This repository is a quest to write the Hello World program in 100 different ways. It's also a good place to start contributing because it's super simple. Start an issue, submit a PR!

Primary LanguageJava

100-ways-to-print-HelloWorld-in-java

contributions welcome

This is a fun quest to find out different ways to print "Hello, World!" in java. It helps me refresh some concepts and it's a good exercise to think of new methods (java pun) to write a Hello World program.

Currently at : 23

[1] The usual way

[2] Using Command Line arguments

[3] Constructors!

[4] Am I inheriting multiple classes?

[5] Create a file. Write a file. Read a file. Thug life!

[6] Do I have to implement that?

[7] Swinging Buttons.

[8] Shh! Thread is sleeping.

[9] Runnable animation with a slice of Random

[10] Brute force. This is going to take a while (loop pun!).

[11] I make my own Exceptions.

[12] Using ENUM by pinarkaymaz6

[13] This guy Scanned it. by Crashn

[14] I ACSII you to print Hello World by Dirgh-Kotharia

[15] Let's join the String by gilletted

[16] Well, I'm just calling functions by dictionary243

[17] main() comes in second as static block steals the first spot!

[18] I assume therefore I assert.

[19] Olny a couple ways to say things.

[20] Good grid! by rmehri01

[21] System will do it for me.

[22] Recursion by CarltonBranch

[23] Lists ☑️ by Goku-kun

Contribute 😉

Why would't you join me in my amazing quest?

  1. Fork it!
  2. Create your feature branch: git checkout -b new-branch
  3. Commit your changes: git commit -am 'Make a valuable addition'
  4. Push to the branch: git push origin new-feature
  5. Submit a pull request :D