Which of the following code will u use to instantiate a map called numbers that has integers as
keys and strings as values?
Map<SLrng, :nLeger> numbers = new Map<String, Integer>;
Map<ThLeyer, SLring> numbers = new Map<Integer, String>;
Map<nLeger> numbers = new Map<String>;
Map<Slring> numbers = new Map<Integer>;

A.
Map<Integer, String> numbers = new Map<Integer, String>;
B.
Code contained in a trigger
C.
Failure response settings
D.
Manual sharing, apex sharing
Typos, should be this
Which of the following code will you use to instantiate a map called numbers that has
integers as keys and strings as values?
Map numbers = new Map;
Map numbers = new Map;
Map numbers = new Map;
Map numbers = new Map;
0
0
Correct answer is A
0
0
Still not right, should be Map numbers = new Map();
0
0