摘要: class A { }  class B extends A { }  Object o1 = new A();  Object o2 = new B();  o1 instanceof A => true  o1 instanceof B => false  o2 instanceof A => 阅读全文
posted @ 2016-03-15 09:49 孤独青鸟 阅读(316) 评论(0) 推荐(0)