//remember to first import java.util.*; first //you can swap out string or integer for other data types Map<String, Integer> d = new HashMap<>();