Map<String,Float> noten = new HashMap<String,Float>(); noten.put("Prog 1",2.0f); noten.put("Prog 2",1.3f); noten.put("ADS",3.3f); System.out.println(noten.get("ADS"));