RosettaCodeData/Task/Collections/Apex/collections-4.apex
2023-07-01 13:44:08 -04:00

3 lines
253 B
Text

Set<String> s1 = new Set<String>{'a', 'b + c'}; // Defines a new set with two elements
Set<String> s2 = new Set<String>(s1); // Defines a new set that contains the
// elements of the set created in the previous step