蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 应用编程


    

蓝森林 http://www.lslnet.com 2006年6月6日 10:18


“基本数据类型的数组无须初始化,就能使用。”对吗?

“基本数据类型的数组无论是在方法内声明,还是在方法外声明,都无须初始化,就能使用。”
这样说对吗?

“基本数据类型的数组无须初始化,就能使用。”对吗?

Java support variables of two different lifetimes:
1.Member variable of a class
2.automatic variable of a method

All member variable that are not explicitly assigned a value upon
declaration are automatically assigned a initial value.


不知你如何准备 scjp ,如果只是做题是远远不够的。
建议好好看看《Complete Java 2 Certification Study Guide》,写些小程序。
打好基础很重要。

“基本数据类型的数组无须初始化,就能使用。”对吗?

谢谢!



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com