1. | Which of the following statements are correct about the Collection Classes available in Framework Class Library? |
|||||||||
Answer: Option E Explanation: No answer description available for this question. Let us discuss.
|
2. | Which of the following is the correct way to access all elements of the Stack collection created using the C#.NET code snippet given below? Stack st = new Stack(); |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
3. | Which of the following statements are correct about a HashTable collection? 1 It is a keyed collection. 2 It is a ordered collection. 3 It is an indexed collection. 4 It implements a IDictionaryEnumerator interface in its inner class. 5 The key - value pairs present in a HashTable can be accessed using the Keys and Values properties of the inner class that implements the IDictionaryEnumerator interface. |
|||||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
4. | Which of the following is the correct way to find out the number of elements currently present in an ArrayList Collection called arr? |
|||||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|
5. | Which of the following is an ordered collection class? 1 Map 2 Stack 3 Queue 4 BitArray 5 HashTable |
|||||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
6. | Suppose value of the Capacity property of ArrayList Collection is set to 4. What will be the capacity of the Collection on adding fifth element to it? |
|||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
7. | Which of the following is NOT an interface declared in System.Collections namespace? |
|||||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
8. | Which of the following is the correct way to access all elements of the Queue collection created using the C#.NET code snippet given below? Queue q = new Queue(); |
|||||||
Answer: Option A Explanation: No answer description available for this question. Let us discuss.
|