Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public with sharing class Welcome {
- //Welcome! I'm a comment and I'm here to tell you what this particular class file is for. The developer who created this class added
- //me so that future developers, like yourself, would have a quick little introduction to what this class does.
- //The two little slashes tell the compiler* that everything following on this line is a note
- //for humans and not code that needs to be executed
- // (* A compiler is the computer program that translates this code into executable computer instructions)
- //But you know what? This set of comments is already several lines long and getting longer. I'm tired of typing two slashes every time
- /*There. That's better. the '/*' tells the compiler that there are multiple lines of comments coming. It knows everything on this line
- and any following lines
- and lines
- and lines
- and lines will continue to be comments
- until it sees a */
- //Ok, let's get started!
- public static void youDoThisPart() {
- //Bryony Mackey 2/9/2018 -- This is a single-line comment
- /*Bryony Mackey 2/9/2018 -- This is a multiple-line comment.
- Everything within the 'slash-star' is a comment, no matter how many lines.*/
- }
- }
Add Comment
Please, Sign In to add comment