您的位置:首页 > 编程语言 > Java开发

Think in java 答案_Chapter 4_Exercise 21

2007-01-23 13:57 573 查看
阅前声明: http://blog.csdn.net/heimaoxiaozi/archive/2007/01/19/1487884.aspx

/****************** Exercise 21 *****************
* Comment the line marked (1) in
* ExplicitStatic.java and verify that the static
* initialization clause is not called. Now
* uncomment one of the lines marked (2) and
* verify that the static initialization clause
* is called. Now uncomment the other line marked
* (2) and verify that static initialization only
* occurs once.
***********************************************/
public class E21_LeftToReader {
public static void main(String args[]) {
System.out.println("Exercise left to reader");
}
}

//+M java E21_LeftToReader
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: