What are the different types of collections in apex?



What are the different types of collections in apex?..

Answer / Neha Lakheda

In Salesforce Apex, there are two types of collections: Lists and Maps. Lists are ordered collections of objects (such as List<SObject>). Maps are unordered collections of key-value pairs (such as Map<Id, SObject>) where the keys are unique.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

What are the types of tabs?

1 Answers  


Is it possible to create parallel approval process (ability for multiple user to approve or reject a record)? : salesforce workflows and approval process

1 Answers  


What is the junction object and what purpose does it serve?

1 Answers  


What is Web service in Salesforce?

1 Answers  


What is wrapper class in salesforce?

1 Answers  


What are the Objects available in the Salesforce Business Process and Give some Business Process Example?

1 Answers  


Explain salesforce.com security implementation with respect to profiles, roles, and hierarchy, sharing rules, owd(org-wide default settings)? Also, specify which is the most restrictive security setting?

1 Answers  


What happens to the child record when we merge two records?

1 Answers  


Which report types are available in Dashboard?

1 Answers  


What is the success of the Salesforce Cloud Service?

1 Answers  


Explain Outbound Message Perform in Workflow?

1 Answers  


What are the most important points to be considered while bulkifying a trigger ?

1 Answers  


Categories