Sets can have any of the following data types:
Course Curriculum
Salesforce Certification Training: Admin 201 and App Builder
Weekday / Weekend Batches
Primitive types
Collections
sObjects
User-defined types
Built-in Apex types