3 lines
253 B
Text
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
|