最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

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

Java中的賦值運(yùn)算符


public class HelloWorld{

? ? public static void main(String[] args) {

? ?int one = 10 ;

? ? ? ? int two = 20 ;

? ? ? ? int three = 0 ;

? ? ? ? three = one+two;

? ? ? ? three += one;

? ? ? ? three -= one;

? ? ? ? three *= one;

? ? ? ? three /= one;

? ? ? ? three %= one;

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

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

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

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

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

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

? ? ? ??

? ? ? ??

? ? ? ??

? ? ? ??

? ? ? ??

? ? ? ??

? ? ? ??

? ? ? ??

? ? ? ??

? ? ? ??

? ? ? ??

? ??

}

}

為什么等于0 而且還能下一章節(jié)

正在回答

1 回答

這一節(jié)你好像答案是錯(cuò)的也可以前往下一節(jié)
0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

慕UI6028893 提問(wèn)者

是啊,什么問(wèn)題?
2017-12-27 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

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

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

進(jìn)入課程

Java中的賦值運(yùn)算符

我要回答 關(guān)注問(wèn)題
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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