You work as the application developer at Certkiller .com.
You must specify a class
which is optimized for key-based item retrieval from
collections. Your class must
cater for key-based item retrieval for small and large
collections.
Which of the following class types should you specify?
A. Select the OrderedDictionary class.
B. Select the HybridDictionary class.
C. Select theListDictionary class.
D. Select the Hashtable class
Answer Posted / gaaa
Answer: B
Explanation: A HybridDictionary is implemented as a
ListDictionary for small
collections and a Hashtable for large collections. Hence it
provides very efficient
storage for both small and large collections.
OrderedDictionary supports sorting based on the key. It has
similar disadvantages for
small collections to Hashtable on which it is based.
ListDictionary is ideal for small collections because it is
implemented as a light-weight
linked list. Performance will suffer for large collections.
HashTable is ideal for large collections, for small
collections the overheads of such a
sophisticated data structure do not compensate for the benefits
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
HI Guys...... Good day ahead How many sub domains can be added in exchange server means in a domain
I want to clear the mcse in 2007. So could i get the latest dump of msce questions?
What is POST?
Can you connect Active Directory to other 3rd-party Directory Services? Name a few options.
Hi, I want to do asp.net certification. So please guide me how i can proceed.
Hi can any one help me for 70-562 dumps?
windows file/folder sharing ?
What are application partitions? When do I use them
How do you create a new application partition
is the cogent cyber solution trainig centre best for .net course?
HOW TO USE FSMO ROLES IN FOREST.. MEANS IF WE HAVE A THREE DOAMINS IN FOREST .....THEY R HYD.COM(FIRST ONE....PRIMARY DOMAIN IN THE FOREST),BANG.COM (SECOND DOMAIN),CSD.COM(THIRD DOMAIN). I WANT TO IMPLEMENT FSMO ROLES IN THIRD DOMAIN HOW TO IMPLEMENT IT ...MEANS HOW TO CONNECT WITH DOAMIN AND WHAT ROLES WE IMPLEMENT..
What do you do to install a new Windows 2003 R2 DC in a Windows 2003 AD?
Types of routing groups
What are sites? What are they used for?
mcse 2003 to mcitp upgrade paper