MyClass.java
 

public class MyClass {
  public static void main(String[] args) {
    // This is a comment
    System.out.println("Hello World");
  }
}

Result:
Hello World