问答题
{在【1】~【5】处填上适当代码,使程序完整。public class Demo {public static void main(String []args){TreeMap map =____【1】 ;map.put(1, "Tom");map.put(2, "Jack");//遍历mapSet entrySet = ____【2】;Iterator it1 = ____【3】;while(it1.hasNext()){Map.Entry entry = ____【4】;Object key = ____【5】; //获取映射关系中键Object value = entry.getValue();System.out.println("");}}}}