Question
1. The ArrayList class contains an inner class that implements the IEnumerator interface.
2. An ArrayList Collection cannot be accessed simultaneously by different threads.
3. The inner class of ArrayList can access ArrayList class's members.
4. To access members of ArrayList from the inner class, it is necessary to pass ArrayList class's reference to it.
5. Enumerator's of ArrayList Collection can manipulate the array.
a.
1 and 2 only
b.
1 and 3 and 4 only
c.
2 and 5 only
d.
All of the above
Posted under C# programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following statements are correct about an ArrayList collection that implements the IEnumerable interface? 1. The ArrayList class contains an inner class that...
Similar Questions
Discover Related MCQs
Q. How many enumerators will exist if four threads are simultaneously working on an ArrayList object?
View solution
Q. In a HashTable Key cannot be null, but Value can be.
View solution
Q. A HashTable t maintains a collection of names of states and capital city of each state. Which of the following is the correct way to find out whether "Kerala" state is present in this collection or not?
View solution
Q. Which of the following is NOT an interface declared in System.Collections namespace?
View solution
Q. 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?
View solution
Q. Which of the following is the correct way to find out the number of elements currently present in an ArrayList Collection called arr?
View solution
Q. Which of the following statements are correct about the Collection Classes available in Framework Class Library?
View solution
Q. Which among the following is not the ordered collection class?
View solution
Q. Which among the following is not an interface declared in System.Collection namespace?
View solution
Q. Which among the following is the correct way to find out the number of elements currently present in an ArrayListCollection called arr?
View solution
Q. Which is the correct statement about an ArrayList collection that implements the IEnumerable interface?
View solution
Q. Which statements among the following are correct about the Collection Classes available in Framework Class Library?
View solution
Q. Among the given collections which one is I/O index based?
View solution
Q. Which among the given statements are correct about the Stack collection?
View solution
Q. A HashTable t maintains a collection of names of states and capital city of each state.Which among the following finds out whether “New delhi” state is present in the collection or not?
View solution
Q. In which of the following collections is the I/O based on a key?
View solution
Q. The wrong statements about a HashTable collection are?
View solution
Q. Which of these classes contains only floating point functions?
View solution
Q. What is the value of double constant ‘E’ defined in Math class?
View solution
Q. Which among the given classes provides types of rounding functions?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C# programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!