Java
Comment type:Line
Comment syntax:// comment
Snippet:
// This is a comment

Java
Comment type:Block
Comment syntax:/* comment */
Snippet:
/* This is a multi

line comment */
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}
}