CS3401 Quiz 6
Question 1 5 / 5 points Which of the following are the three major categories of Java Collections ? lists, sets, maps hash tables, hash maps, hash sets arraylists, linkedlists, vectors trees, lists, maps Question 2 5 / 5 points A collection that does not impose a positional order on its elements, and does not allow duplicates is called which of the following? A hashmap A linkedlist A vector A set Question 3 5 / 5 points A collection whose elements are pairs of keys and values is called which of the following? An iterator A map A binary tree A heap Question 4 0 / 5 points Ideally, the hash codes of two objects should be which of the following: The should be equal when the objects belong to the same class, and different when the objects belong to different classes They should be equal when the objects are of the same type, and ...