/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

GitHub contributors GitHub Hacktoberfest combined status

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: 52

[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

[24] Do it without a Semicolon! by subhamsagar524

[25] From morse code! by EnzoRobaina

[26] jaspervhaastert had a little lambda.

[27] Charing for each by Vishant93

[28] rsdiz uses a Map to navigate.

[29] notjacob-dev threw the output into a pastebin!

[30] A temp output but not if you argue, by notjacob-dev

[31] Framing the output by nafladiva

[32] A decisive array by Roshanpaswan

[33] Calling all characters by Aditi-Roy-coder

[34] ICP, UCP but Symbolism00 uses TCP!

[35] We'll always have singleton Gajendrakm

[36] ParthPali chars recursively.

[37] rangolucas is ASCII you to see the art!

[38] esrever ni tub ,dlrow olleh by 0xdeki

[39] Hello World Using Callable by RamGSuri

[40] Serving Hello World by WOLFI3654

[41] It's a colorful World by AlankritaShah

[42] Char level precision by voidHimanshu

[43] Why use default when you can have your own class print the output by akshatagrawal9874

[44] Con is the only currency we know by Pinkolik

[45] Well, this was a Brainf*** by Pinkolik

[46] (SimonaMS)[https://github.com/SimonaMS] makes stars.

[47] The OG UI component by syedzubeen

[48] The Spring injection overkill by AlessandroArosio

[49] Life needs a little Reflection by apol657

[50] Serialization/Deserialization by hryxna

[51] When 10 is not enough, use 16 by harisfi

[52] Slide to make it appear

Contribute 😉

Make sure you read the contributing guidelines.

Why wouldn'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