📅  最后修改于: 2022-03-11 14:52:08.515000             🧑  作者: Mango
Object obj = null;
obj = new ArrayList();
System.out.println(obj.getClass());
obj = "dummy";
System.out.println(obj.getClass());
obj = 4;
System.out.println(obj.getClass());