Fork me on GitHub

Source code

Demo source code inclusion.

Inline source

public class HelloWorld { 1
  public static void main(String[] args) { 2
    // Prints "Hello, World" to the terminal window. Here is some very large comment that should cause an overflow
    System.out.println("Hello, World");
  }
}
1 The class name
2 The main method

Referenced source

public static void main(String[] args) { 1
  System.out.println("Hello, World");
}
1 The main method
Tip Also see the Javadoc.