注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 51CTO三周年庆典之IT北斗..
 帮助

一个小面试题


2008-03-03 23:00:51
 标签:面试 java    [推送到技术圈]

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://149347.blog.51cto.com/139347/64009
public class Test {
    public Test() {
    }
   
    public static void main(String [] args){
     boolean first = true;
     int count = 0 ;
     for(int i=0;i<8;i++){
      if(!first&&count>3){
       System.out.println(count);
      }else{
       first = false;
      }
     }
     
    }
}
 
没有运行结果 无输出

本文出自 “j2ee_开发” 博客,请务必保留此出处http://149347.blog.51cto.com/139347/64009





    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: