viernes, 22 de noviembre de 2013

Comments on Java


Comments in java programs serve to explain the lines of code, these comments are "invisible" to the compiler and therefore do not affect the program.

Comments to a single line of text: To use this type of comment should be placed a double slash (/ /) at the beginning of the line.

Review of one or more lines: To use this type of comment should place a + slash asterisk (/ *) at the beginning of the first line of text and an asterisk + slash (* /) at the end of the last line of text.

0 comentarios:

Publicar un comentario

deja un comentario