Showing posts with label Comments. Show all posts
Showing posts with label Comments. Show all posts

Thursday, February 9, 2012

Comments

Commenting your code is important. Comments allow you to provide internal documentation of your code - for yourself and others.

A single line comment is started with //

as in

// This is a comment





A multiline comment is started with /* and ended with */

as in

/* Comment begins here....
.....
....
comment ends here */