HashMap<Character, Integer> map = new HashMap(); HashMap map = new HashMap<Character, Integer>();
以上两种创建HashMap的方式,有什么区别呢?
收起
Integer a = (Integer) 1; Object b = new Integer(1);
像这个
报告相同问题?