Which class should you identify?

You plan to create a list of customers named customers. Each customer will have a name and a key. The name and key will be strings.
You will use the following code to retrieve customers from the list.
customers[aKey].toString();
You need to identify which class must be used to declare the customers list. The solution must ensure that each key is unique.
Which class should you identify?
A. ArrayList
B. Dictionary
C. List
D. Array

microsoft-exams

One thought on “Which class should you identify?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.