Hello World!
A friend participated in a "Hello World!" smallest-class-size contest (she didn't come close to winning). The object of the contest was to generate the smallest Java class capable of generating the phrase "Hello World!".
If you simply compile a one class program with System.out.println("Hello World!") in the static main(..), you'll be looking at somewhere around 416 bytes. The winner of this contest did it in 71 bytes. To see how.. check out this link.
If you simply compile a one class program with System.out.println("Hello World!") in the static main(..), you'll be looking at somewhere around 416 bytes. The winner of this contest did it in 71 bytes. To see how.. check out this link.
