test5.20
来源:互联网 发布:甘霖 配餐软件 编辑:程序博客网 时间:2024/05/16 09:00
按照题目的意思写出程序,确实有显示,但是这时候现实的效果与前一题完全一样,我就怀疑可能是args保留了前面程序运行的结果,是这吧19题的String改变,20题果然跟着变化,其中的原理我还不太明了。
/*target:Modify main() function enable it to receive
* changeable vector* methods:imitate the example before page105
*/
public class Test20 {
public static void main(Object...args) {
for(Object obj:args)
System.out.print(obj+" ");
}
}
0 0
- test5.20
- test5
- test5
- test5
- test5
- test5
- test5
- test5
- Test5
- Test5
- Test5
- 学校Test5
- test5.1
- test5.2
- test5.4
- test5.5
- test5.6
- test5.7
- JavaScript闭包
- VIJOS 1114 FBI树
- 第十六章 Vim之Global命令
- Android L 预置apk
- Linux内核增加自己的配置项 错误
- test5.20
- 通过反射调用类里面的方法
- iOS微信安装包瘦身
- linux 中的iostat命令监控IO
- Error: Invalid resource directory name
- Android samples API Demos之UI篇1(ActionBarCompat-Styled)
- java复习
- 本人开通博客的目的
- Mobile application monitoring (Splunk MINT)