4.1.5Java程序初始化順序?

class Base{ static{ System.out.println("Base static block"); } { System.out.println("Bae block"); } public Base(){ System.out.println("Base constructor"); } } public class Derived extends
相關文章
相關標籤/搜索