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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

大神求解=_=

int one = 10 ; int two = 20 ; int three = 0 ; three=one+two; System.out.println("three=one+two==>"+three); three+=one; System.out.println("three+=one==>"+three); three-=one; System.out.println("three-=one==>"+three); three*=one; System.out.println("three*=one==>"+three); //"為啥我都看不懂?"; } }

正在回答

2 回答

//定義整型one,two,three,并賦初值

int one = 10 ; int two = 20 ; int three = 0 ;?

//計(jì)算one+tow(也就是計(jì)算10+20),并賦值給three

three=one+two;?

//輸出three(也就是輸出10+20)

System.out.println("three=one+two==>"+three);?

//等同于three=three+one;就是將one+three重新賦給three(也就是30+10),并輸出three

three+=one; System.out.println("three+=one==>"+three);

//等同于three=three-one;就是將three-one重新賦給three(也就是20-10),并輸出three

?three-=one; System.out.println("three-=one==>"+three);

//等同于three=three*one;就是將three*one重新賦給three(也就是10*10),并輸出three

three*=one; System.out.println("three*=one==>"+three);

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

慕后端7185459 提問(wèn)者

謝謝!
2018-07-23 回復(fù) 有任何疑惑可以回復(fù)我~

這個(gè)你哪一句看不懂,前面就是聲明變量,然后對(duì)每個(gè)變量進(jìn)行不同的賦值運(yùn)算符處理,打印出來(lái)

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

慕后端7185459 提問(wèn)者

那個(gè)括號(hào)里的運(yùn)算看不懂。
2018-07-23 回復(fù) 有任何疑惑可以回復(fù)我~
#2

慕斯卡3214829 回復(fù) 慕后端7185459 提問(wèn)者

括號(hào)里邊不是運(yùn)算,只是輸出而已
2018-07-25 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
Java入門(mén)第一季(IDEA工具)升級(jí)版
  • 參與學(xué)習(xí)       1167328    人
  • 解答問(wèn)題       18530    個(gè)

0基礎(chǔ)萌新入門(mén)第一課,從Java環(huán)境搭建、工具使用、基礎(chǔ)語(yǔ)法開(kāi)始

進(jìn)入課程
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

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

公眾號(hào)

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