This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TASK ONE | |
| public with sharing class WeekThreeHomework { | |
| public static void homeworkAssignmentMethod() { | |
| //Read through the setup below and then complete the code following the prompts. When you're done, make sure to compile (save) your work | |
| //Open Execute Anonymous in the Developer Console and execute your code by typing in: WeekThreeHomework.homeworkAssignmentMethod(); | |
| //Read through the debug statements to make sure you're done your work correctly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TASK ONE | |
| public with sharing class CommentingOnCodeExercise { | |
| /** | |
| * Your Assignment is to add comments describing what is being done in the methods below. | |
| * Call out the concepts you learned in your readings and in class. | |
| */ | |
| public static void cartValues() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //TASK TWO - WELCOME | |
| 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) |