程序代码如下,请问会输出什么结果? 1. import java.util.*; 2. class Execute{ 3. public static void main(string[ ] args) { 4. TreeMap
map=new TreeMap
( ); 5. map.put(“B2”,”Join”); 6. map.put(“A1”,”Tom”); 7. map.put(“A1”,”Mary”); 8. set
keys =map.keySet(); 9. system.out .println(key.size()); 10. } 11. }