第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

為什么第一串字符(three1)輸出的是300

為什么第一串字符(three1)輸出的是300

0_子朔_0 2017-08-09 15:57:24
public class HelloWorld{? ? public static void main(String[] args) { ? ?int one = 10 ;? ? ? ? int two = 20 ;? ? ? ? int three = 0 ;? ? ? ? int three1=one+two;? ? ? ? int three2=three1+=one;? ? ? ? int three3=three1-=one;? ? ? ? int three4=three1*=one;? ? ? ? int three5=three4/=one;? ? ? ? int three6=three%=one;? ? ? ? System.out.println(three1);? ? ? ? System.out.println(three2);? ? ? ? System.out.println(three3);? ? ? ? System.out.println(three4);? ? ? ? System.out.println(three5);? ? ? ? System.out.println(three6);? ? ? ??
查看完整描述

1 回答

已采納
?
蜂之谷

TA貢獻564條經(jīng)驗 獲得超863個贊

int?three2=three1+=one;??-->?three1?=?30+10?=?40
int?three3=three1-=one;??-->?three1?=?40-10?=?30???
int?three4=three1*=one;??-->?three1?=?30*10?=?300


查看完整回答
反對 回復(fù) 2017-08-09
  • 蜂之谷
    蜂之谷
    還沒明白??? int three2=three1+=one; three1+=one相當(dāng)于 three1 = three1 + one , 到這里three1 = 40了
  • 0_子朔_0
    0_子朔_0
    奧,我明白了,謝謝!
  • 1 回答
  • 0 關(guān)注
  • 1178 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號