已知有如下代码: import java.util.*; public class ChenMap
{ private Map
map =new HashMap<>(); public void put(K k,V v){ map.put(k,v); } public Collection
getValues(){ return map.values(); } public Set
> entrySet(){ return map.entrySet(); } public static void print(ChenMap
map){ for(Iterator
> iterator = map.entrySet().iterator(); iterator.hasNext();){ System.out.println(""+iterator.next()); } } } 下列说法正确的是: