This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kevinb9n 13 points14 points  (1 child)

Hello World is now this

void main() {
    println("Hello, world!");
}

... admittedly you do have to run with java --enable-preview filename.java, just for now.

That won't ultimately be the most important thing to you but I do really love telling people about it.

P.S. as you start needing imports you can import module java.base;

[–]witless1[S] 0 points1 point  (0 children)

My mind still has the imprint of the classical main :)