Thursday, March 17, 2011

How To Make A Model Of The Globe Theater



A comment is a message that is written somewhere in our program, with the intention of explaining fuente.Podemos use code to explain the task to carry out a method, variable, etc.

In Java there are three kinds of comments:


1) Review of a single line

The comment written following a double slash ( / / ).
 
/ / this is a one line comment



2) multi-line comment

The commentary is written in characters / * and * / .
 
/ * this is a comment


several lines * /



3) Review the documentation included in

The commentary is written in characters / ** and * / .
This type of comment is a special type used to generate javadoc documentation about the program.
 
/ **

this is a comment that comes in the javadoc documentation

* /

0 comments:

Post a Comment