Question 4
In the following creation of a HashMap, what does String represent?
HashMap<String, Integer> schoolIDs = new HashMap<String, Integer>(O):
Map type
Return type
Value type
Key type
Question 5
To make a Deque behave like a stack, which methods should be used for element insertion and removal?
addFirst and removeFirst
insertFirst and deleteFirst
addHead and removeHead
insertHead and deleteHead