Interview Questions   Tutorials   Discussions   Programs   

Apex - What are different collection in salesforce? What is difference between List and set?




687
views
asked kiran-57 February 28, 2013 10:39 AM  

What are different collection in salesforce? What is difference between List and set?


           

2 Answers



 
answered By   0  
List is an ordered collection of primitives or sObjects.
Set is an unordered collection of primitives or sObjects.
flag   
   add comment

 
answered By   0  
in list value or key may be duplicated but in set value can't be duplicated if u add 2 same value only one value will be reterived...
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert