News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

multiline comments

Started by sukishan, Sep 04, 2009, 03:46 PM

Previous topic - Next topic

sukishan

J# programs are stored with the .jsl extension. To compile a J# application, use the .NET J# compiler, vjc.exe.

vjc HelloWorld.jslComments
In addition to the single-line and multiline comments that are similar to those of C#, J# also supports and extends the traditional Javadoc-style comments. (For non-Java programmers, Javadoc-style comments are special comments similar to XML comments in C#, used to automatically generate HTML documentation from Java programs.)

package hks;
import System.*;
public class Comments
{

  public static void main()
  {
    // A Simple Comment
    /*
      A multi
      line comment
    */
    Console.WriteLine("Hello World in J#");
  }
}
A good beginning makes a good ending