You use the double slash (//) to comment a single line or part of a line. Here are some examples of single line comments:
//This is a full line comments. No other logic is allowed on this line.
1 = a + p; // All living things (1) consist of animals (a) and plants(p)
As you can see, // was used to add a line of comments.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment