Category: Interview Questions

  • What are the different types of collections in Apex?

    What are the different types of collections in Apex?

    Apex supports three main types of collections: Lists, Sets, and Maps. Lists are ordered collections of elements that are indexed by an integer. Sets are unordered collections of elements that are unique, meaning no duplicate values. Maps are collections of key-value pairs, where each unique key maps to a single value. These collections are fundamental…

Open Chat
1
Dear Sir/Madam
How can I help you?