core java
iteye_19888
这个作者很懒,什么都没留下…
展开
-
java constructor 在构造子类时,一定会调用到父类的构造方法
sub class must call base class's constructor sub class will invoke base class's constructor implicityly if super constructor is undefined, must explicitly invoke another constructor 子类以一...2009-10-22 17:02:59 · 468 阅读 · 0 评论 -
java 访问修饰符
public > protected > package >private [code="sh"] Access Levels Modifier Class Package Subclass World public Y Y Y Y protected Y Y Y N no modifier Y Y ...原创 2009-11-09 16:20:43 · 74 阅读 · 0 评论 -
java null cast
摘自 Java Language Specification The null reference can always be cast to any reference type.In practice, the programmer can ignore the null type and just pretend that null is merely a special literal...原创 2009-11-11 17:53:28 · 260 阅读 · 0 评论 -
java array list exception
array to list [code="java"] List list = Arrays.asList(array); [/code] decouple try catch and try finally [code="java"] try{ try{ //code } finally{ //code } catch(Excepti...原创 2009-12-22 16:41:03 · 117 阅读 · 0 评论