为了账号安全,请及时绑定邮箱和手机立即绑定

0*20是200?

public class HelloWorld{ 
    public static void main(String[] args) {
        int one = 10 ;
        int two = 20 ;
        int three = 0 ;
        //0*20后再赋值
        int D = three *= two;
        System.out.println(D);    
    }
}


正在回答

2 回答

http://img1.sycdn.imooc.com//619da3f00001b63106710402.jpg结果是0啊   0.0

0 回复 有任何疑惑可以回复我~

是0 啊

int one = 10 ;
int two = 20 ;
int three = 0 ;
//0*20后再赋值
int D = three *= two;
System.out.println(D);


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号