Which class should you identify?

Posted by: Pdfprep Category: 70-483 Tags: , ,

You plan to create a list of customers named customers. Each customer will have a name and a key. The name and the 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

Answer: B

Leave a Reply

Your email address will not be published.