Why is there this public void static main thing wrapped around the code?
But more confusingly to me, why are functions (or methods as they are called here in Java land) defined after calling them? I see the tutorials call the method name, but the actual method itself is written after the caller.
For reference I am used to Pascal where you write function ... and procedure... at the top of program and even though the function can be written anywhere in the program, this specific thing is written at the top of the program.
I hope someone can explain to me; I am new to this!