{}
Main.java
// Online Java Compiler // Use this editor to write, compile and run your Java code online class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }
Output