Question: 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?

Options

A : 4

B : 8

C : 16

D : 32

Click to view Correct Answer

Previous || Next

Collection Classes - General Questions more questions

In a HashTable Key cannot be null, but Value can....

Which of the following statements are correct about the Stack....

A HashTable t maintains a collection of names of states....

Which of the following is the correct way to access....

Which of the following is NOT an interface declared in....

Which of the following is an ordered collection class?

Which of the following is the correct way to find....

Which of the following statements are correct about a HashTable....

Which of the following is the correct way to access....

Which of the following statements is correct?

Attributes - General Questions more Online Exam Quiz

Strings - General Questions

Attributes - General Questions

Classes and Objects - General Questions

Constructors - General Questions

Datatypes - General Questions

Delegates - General Questions

.NET Framework - General Questions

Enumerations - General Questions