What is a map? Write its syntax.

A map is a collection which stores values on the basis of key-value pair where the key is always unique, and value is stored on behalf of that key. Values nee not to be unique.

Map<id,account>mapOfAccounts = new Map<id,account>();

About the author

By Rohit

Recent Posts

Recent Comments

Archives

>