create a hashmap in java with int as key and value should be string code example
Example: declare hashmap java
//remember to first import java.util.*; first
//you can swap out string or integer for other data types
Map<String, Integer> d = new HashMap<>();