Post

A friendly reminder that #Java #HelloWorld looks like this since Java 24: void main() { println("Hello World"); } No, it is not "public static void main..." anymore. 🫶

3 reposts17 likes

Note: For Java 25 and onwards, you either statically import it with import static java.lang.IO.*; and use it like in the code above, or add IO.println("Hello World"); (which is a better practice!).