This file contains 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
public with sharing class CollectionsReview { | |
public static void introToLists() { | |
//Let's declare and initalize a list of strings | |
List<String> listOfStrings = new List<String>(); | |
//Ok, we have a list declared, but we haven't yet put anything in it. let's put some stuff in those lists | |
listOfStrings.add('EntryA'); | |
listOfStrings.add('EntryB'); |