hc学习平台

 找回密码
 立即注册
搜索
热搜: 活动 交友 javakc
 › XIAOSONG › 日志

下列代码的输出结果是  

2022-08-01 20:35:58 查看(8) 回复(0)

public  class  Text{
    public  int  t=4;
    public  static  void  main(String[  ]  args){
        new  Text(  ).NumberPlay(  );
    }
    public  void  NumberPlay(  ){
        int  t=2;
        t=t+5;
        this.t=this.t-2;
        t=t-this.t;
        System.out.println(t+","+this.t)
    }
}
A、2,0
B、2,5
C、7,2
D、5,2
D

评论 (0 个评论)

facelist

全部作者的其他最新日志



站点统计|举报|Archiver|手机版|小黑屋|Comsenz Inc.

GMT+8, , Processed in 0.195171 second(s), 9 queries .

Powered by javakc! X1.0

© 2004-2014 javakc

f1208.com 备案号:京ICP备14030918号-1

返回顶部