1 package greetings; 2 3 public class HelloWorld { 4 5 public static void main(String[] args) { 6 7 System.out.println("Hello world!"); 8 } 9 }