PrepAway - Latest Free Exam Questions & Answers

Which of the following code will u use to instantiate a map called numbers that has integers as keys and strin

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>;

PrepAway - Latest Free Exam Questions & Answers

A.
Map<Integer, String> numbers = new Map<Integer, String>;

B.
Code contained in a trigger

C.
Failure response settings

D.
Manual sharing, apex sharing

3 Comments on “Which of the following code will u use to instantiate a map called numbers that has integers as keys and strin

  1. Random says:

    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

Leave a Reply