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
2
Q
What are 3 collections you know from Java?
A
List, Sets, and Maps
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.
4
Q
What is a set?
A
It is a collection of elements in which duplicate elements are not allowed.
5
Q
What is a map?
A
It is a collection of key-value pairs.