public static void main(String[] args) {
Map<Integer, Object> map = new HashMap<Integer, Object>();
map.put(1,111);
map.put(2,222);
String s = "1";
Object o = map.get(s);
sout(0)
}
map的get方法使用
2021/12/8 20:05:19