Java中四大代码块的执行顺序(附code)

验证证的方法是写code,以下: public class test { static class A { public static String name = "hello"; static { System.out.println("A static block1"); //1 }
相关文章
相关标签/搜索