What does this code do?
public class Main
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
What does this code do?
Don't compile it, it makes mustard gas.
every time it runs, an entropy bit for hacking the Gibson is revealed
jews and their tricks
>public class
Probably something to do with a teaching session. Maybe it is a state-sponsored _program_ aimed at poor people? Like, you can attend a class without having to pay or sign up.
it deletes system32
You stopped reading early.
>public - nationalized, of the people
>class - class warfare, social class
>Main - capital M main, as in The Government
>system - the system, the government
>world - the whole world, global revolution
>void - where communism leads us
>string - what we should hang these fuckers with
deletes toilet32
Malformed, doesn't even compile.
>code.cpp:1:1: error: expected unqualified-id
>public class Main
>^
>1 error generated.
Dude, what do I look? His Royal Highness, Chancellor Falcon, the Prime Minister of the Department of Education of the US&A? I am just a simple peasant! You need to get System.out of here with your dumb args.
>cpp
>cpp
This is actually pretty good.
fpbp
Hello World!
I write a tonne of Erlang. And yesterday and I said "let's shitpost a Hello world" and I realised I had no idea how to do it.
I could do it in Python which I've barely ever used, but basically everything I've done in Erlang is a network service and I've never had a reason to interact with a console.
Looks ugly
Nothing because there is no main function.
---> public static void main(String[] args)
That is pretty neat
>not String... args
Wow, color me in surprised it actually works when copying and pasting it. I thought I would get some error because it was formatted by a mongoloid. Java is still a terrible language though.
dubs of truth
holy shit Jow Forums is fucking cancer they can't even answer a simple fucking question with out a thread being flooded with trolls. the program output would be:
>Hello World!
dumb retard nigger gorilla
holy shit get a life retard
print "hello world" out from your System
>Java is still a terrible language though.
unironicall why?
a language that runs on everything is pretty amazing If you ask me
You're describing C(++) or any language with an LLVM backend, the difference is those run natively while Java runs in a VM.
Nothing, just another case of
>Popular thing bad