// This is an in-line comment. It ends at the end of this line. // This attempt to roll to the next line will fail to compile. /* Instead, long comments are best placed inside block comments like this */ /** * Finally, there is the type of documentation that * javadoc produces. To use this, you need to use javadoc * commands inside the comment block, such as: * @version 1.1 * @author Rahul Simha * @return No value returned * @param command arguments (any number of strings) * Note: each line must start with a `*' symbol. */ // javadoc will produce HTML documentation. To try it out, don't // forget to fix the in-line comment error above. public class HelloWorld3 { public static void main (String[] argv) { System.out.println ("Hello World"); // prints to screen } }