Skip to content

Instantly share code, notes, and snippets.

@Abigailellen
Abigailellen / weekThree Homework - A Green
Last active November 4, 2025 09:47
weekThree Homework - A Green
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.
@Abigailellen
Abigailellen / weekTwo Homework - A Green
Last active November 4, 2025 09:47
weekTwo Homework - A Green
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() {
@Abigailellen
Abigailellen / weekOne Homework - A Green
Last active November 4, 2025 09:48
weekOne Homework - A Green
//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)