摘要:
1 public class ClassType { 2 public static void main(String[] args) { 3 Integer i=0; 4 String type = ifClassType(i); 5 System.out.println(type); 6 } 7 8 public static String ifClassType(Object obj) { 9 String type="";10 if(obj instanceof Inte... 阅读全文