adspace


Explain the different scenarios wherein you need to use different types of collections i.e list, set and map?

Answer Posted / Naeem Akhatar

Lists are used when you want to maintain the order of elements. Sets are used when you want to ensure unique values without any particular order. Maps are used to store key-value pairs where keys must be unique.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What were you doing before sfdc development?

522


What is workflow rule and workflow actions? : salesforce workflows and approval process

574