0 votes
in Salesforce by
What are Maps in Apex?

1 Answer

0 votes
by
Maps are used to store data in the form of key–value pairs, where each unique key maps to a single value.

Syntax:

Map<String, String> country_city = new Map<String, String>();
...