Tuesday, September 2, 2014

Comments

// This is a valid comment
// So is this

/ This is not a valid comment (missing a forward slash)

/* This is another way of writing a comment */

/* This is also a valid
way of writing a comment */

/* This is not a valid comment because you are missing the star here /

/* This is the eclipse
 * way of writing a comment
 * with multiple lines.
 */

No comments:

Post a Comment