Need help with Java HashMapping questions using boolean, strings, integers, inputs, and keys.
static void Q8(HashMap<String, Integer> input, String key, int value) { // add an entry into the map with the given key and value
static boolean Q9(HashMap<Integer, Boolean> input, int key) { // return the value in the input map at the given key
return true;
static boolean Q10(HashMap<String, Integer> input, int value) { // return true if value is in the input map as a value at any key, false otherwise
return true;