function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
psrpsr 

hi

i have doubt 

 

 

like   map<string,string> map1 = new map<string,string> ();

map1.put <null, salesforce>

 

is it possible ?  plz  help me

Bhawani SharmaBhawani Sharma
Yes

Map<string,string> map1 = new Map<String,String>();
map1.put(null, 'Salesforce');
System.debug(map1);