類的加載順序

public class TestStatic { Person person = new Person("Test"); static{ System.out.println("test static"); } public TestStatic() { System.out.println("test constructor")
相關文章
相關標籤/搜索