Collections Flashcards

1
Q

ArrayList

A

An ArrayList implements several interfaces. The size of an arraylist dynamically increases according to the number of items added.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Hashtable

A

A Hashtable is the set of keys and value pairs in a collection and is organized depending on that key. The key is the number that references the value in the list of data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Queue

A

A Queue symbolizes a first-in, first-out collection of objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Stack

A

A Stack signifies last-in-first-out (LIFO) collection of objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ICollection

A

All collection classes can access the ICollection interface. The ICollection is an interface for collections of similar objects like the controls on a form, the elements in a list and so on. The ICollection interface provides all features needed for a collection such as count, CopyTo etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

IList

A

IList is a successor of the ICollection interface and is the base interface of all lists that hold the same set of data. Lists can be fixed or variable lengths or read-only.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

IDictionary

A

Used for collection classes that uses key/value-based collection. The IDictionary interface is the base interface for collection of key/value pairs. Each key/value pair must have a unique key.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Ordered collection

A

Items in the collection are stored in a specific order.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Indexed collection

A

Items in the collection are identified by a numeric index.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Keyed collection

A

Items in the collection are identified by a unique key value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly