What are the types of WMLScript comments?

What are the types of WMLScript comments?



- WML Scripts Comments are used to display the information so that it becomes easy to read and know.

- WMLScript comments allow the users to read in an easy way the information that is written for each line of codes.

- There are two types in which the comments can be decided:

- Single-line comment: this provide the single line comment that allow the user to add only one comment per line using backslash at the beginning of the comment and it is written as:

// Hello world is a nice program

- Multi-line comment: this provides a way to add more than one line of information to be written using the /* and */ and it can be extended to as many lines as a user wants. It is written as:

/* Hello world
is a nice program. */
/* Hello world is a nice program. */
Post your comment