Activity Forums Salesforce® Discussions In Salesforce How can you declare List/Map/Set in Apex ?

  • Anuj

    Member
    January 21, 2020 at 2:57 pm

    Hi Arun,

    In Salesforce Apex List ,Set and Map can be used to store data in bulk , for unique data we used Set  for example Id, and for duplicate we use  List and for Map is used for Key,Value pair where key is unique and value can be multiple

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos