MyClass.java
 

final class MyClass {
  public static void main(String[] args) {
    System.out.println("Hello World");
  }
}

Result:
Hello World