Java colllections FrameWork Flashcards

1
Q

What is the JCF?

A

It is a set of classes and interfaces that come by default with java and provide ready-to-use data structures and algorithms for storing, retriving, and manipulating groups of objects efficiently

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

What are 3 collections you know from Java?

A

List, Sets, and Maps

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

What is a List?

A

It is an orderd collection of elments, where elements can be duplicated, and elements can be accesed by their index the collection.

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

What is a set?

A

It is a collection of elements in which duplicate elements are not allowed.

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

What is a map?

A

It is a collection of key-value pairs.

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