01: package hello; 02: 03: public class HelloWorld { 04: 05: public String sayHello() { 06: return "Hello world"; 07: } 08: 09: public static void main(String[] args) { 10: System.out.println(new HelloWorld().sayHello()); 11: } 12: 13: }