静态类中,静态方法和静态变量的执行顺序按出现执行
摘要:
package com.study; public class StaticCode { static { i = 33;// i's value is from 0 to 33 g(); } static int i = 1;// i's value is from 33 to 1 static String prior = ... 阅读全文
posted @ 2018-11-18 19:02 Clarence Yang 阅读(285) 评论(0) 推荐(0) 编辑