2013年3月25日

for循环java加强版

摘要: publicclassFor {/** *@paramargs */publicstaticvoidmain(String[] args) {//TODOAuto-generated method stubinta[]={2,2,3,4};for(inti : a){System.out.println(i);}String s=1+"23";System.out.println(s);//for(inti=0;i<a.length;i++)//{//System.out.println(a[i]);//}}} 阅读全文

posted @ 2013-03-25 23:22 cenasyz 阅读(119) 评论(0) 推荐(0)

2012年3月25日

hello world //shell

摘要: #!bin/shecho "hello world"#前面的#!bin/sh表明该文件是一个 BASH 程序,需要由 /bin 目录下的 bash 程序来解释执行#双引号不写也行的#一个linux shell基础介绍链接 http://blog.csdn.net/lengyuhong/article/details/6125661 阅读全文

posted @ 2012-03-25 15:08 cenasyz 阅读(77) 评论(0) 推荐(0)

导航