Skip to content

Instantly share code, notes, and snippets.

View kristenmedlock-cloud's full-sized avatar

kristenmedlock-cloud

  • Joined Oct 17, 2025
View GitHub Profile
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.
*/
//define a method named cartValues
public static void cartValues() {
public static void youDoThisPart() {
/*Your assignment is to write two comments below this one. They should describe the few lines of code you se below.
Simply describe what the code is doing based on what you learned from readings and in class.
Make one as a single line comment using the // notation. Make the other one a multi line comment using the /* notation.
When you're done, save this file so that it is compiled and stored in Salesforce. */
/*declare a variable with name i and type integer
establish the value of variable i to 2 */
Integer i;