摘要: public static void main(String ages[]){ //向上转型 Object obj=new jicheng(); //关键字 instanceof //判断某个对象是否是某个类的实例,返回boolean if(obj instanceof jicheng){ Syst 阅读全文
posted @ 2016-03-09 09:46 storm47 阅读(139) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-03-09 08:44 storm47 阅读(172) 评论(0) 推荐(0)