Java類中代碼執行順序

先上代碼: 1.代碼片斷一:web /** * @author szn25 */ public class Main { static { System.out.println("main.static!"); } public static int function(){ int ret = 0; try{ System.out.println("try"); C c = new C(); /
相關文章
相關標籤/搜索