Test5.17
来源:互联网 发布:金天鹅软件 编辑:程序博客网 时间:2024/05/22 16:23
/*target:prove message in a class constructor will work or not
* methods:define a class with constructor ,which would print
* String vector ,create an array of this class but without initials.
*/
public class Test17 {
String test;
Test17(String s){test=s;System.out.println(test);}
public static void main(String[] args) {
Test17 [] line=new Test17[3];
}
}
//result shows there are no output
* methods:define a class with constructor ,which would print
* String vector ,create an array of this class but without initials.
*/
public class Test17 {
String test;
Test17(String s){test=s;System.out.println(test);}
public static void main(String[] args) {
Test17 [] line=new Test17[3];
}
}
//result shows there are no output
0 0
- Test5.17
- test5
- test5
- test5
- test5
- test5
- test5
- test5
- Test5
- Test5
- Test5
- 学校Test5
- test5.1
- test5.2
- test5.4
- test5.5
- test5.6
- test5.7
- Java正则表达式入门
- Word公式和文字的显示位置调整
- 白盒测试中的逻辑覆盖
- Spark 源码阅读一-启动脚本
- jquery实现视频展示效果
- Test5.17
- JSP标签实现分页功能(ORM-mybatis)
- 测试uart_ldisc
- python socket 模块
- 使用 nginx + node.js 反向代理
- 可视化与办公自动化学习
- 可视化与办公自动化学习
- 第四周项目三(2)
- Android :利用Proguard去除日志信息