Which type of collection should you use?

You need to store the values in a collection. The solution must meet the following requirements:
• The values must be stored in the order that they were added to the collection.
• The values must be accessed in a first-in, first-out order.
Which type of collection should you use?

You need to store the values in a collection. The solution must meet the following requirements:
• The values must be stored in the order that they were added to the collection.
• The values must be accessed in a first-in, first-out order.
Which type of collection should you use?

A.
SortedList

B.
Queue

C.
ArrayList

D.
Hashtable



Leave a Reply 0

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