HashMap
Set<Integer> keys1 = hMap.keySet();
for(int key:keys1) {
System.out.println(hMap.get(key)+" "+key +" letter words");
total += (int)hMap.get(key);
}
for(int key:keys1) {
System.out.println(hMap.get(key)+" "+key +" letter words");
total += (int)hMap.get(key);
}
댓글
댓글 쓰기