摘要: 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... 阅读全文
posted @ 2013-07-24 11:39 小嫩芽儿 阅读(237) 评论(0) 推荐(0) 编辑