Just for those who can't see deleted posts, here's the question.
Hello World in Java without semicolons
I've seen that it's possible to write "Hello World" without any semicolons in C, but I've heard that it is not so easy to do in Java, as System.out.println()
does not return an integer that can be evaluated like printf()
.
Does anyone have any ideas how you might write a "Hello World" program in Java with no semicolons?
As you can see, this is an exceedingly contrived question. As such, it goes against the guideline in the FAQ that says:
You should only ask practical, answerable questions based on actual problems that you face.
Since it was deleted by the community (and not by a single moderator vote), and I happen to agree with that action, I'm reluctant to intervene.