/*
This is a very simple Java program
*/
class First
{
public static void main(String[] args)
{
System.out.println("Hello World");
}
}
$javac First.java $java First Hello World $Note
/* Comment style 1. These can be multiline. This type of comment is shown in the example above. */
/** Comment style 2 These can be multiline and are used as part of the code documentation system.*/
//Comment style 3. These are singe line.