課程
/后端開(kāi)發(fā)
/Java
/Java入門(mén)第一季(IDEA工具)升級(jí)版
?System.out.println("three=one+two==>"+three=one+two);
2017-01-14
源自:Java入門(mén)第一季(IDEA工具)升級(jí)版 3-3
正在回答
public class HelloWorld{
? ? public static void main(String[] args) {
? ?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);
舉報(bào)
0基礎(chǔ)萌新入門(mén)第一課,從Java環(huán)境搭建、工具使用、基礎(chǔ)語(yǔ)法開(kāi)始
1 回答代碼規(guī)范
3 回答代碼規(guī)范問(wèn)題
2 回答關(guān)于標(biāo)識(shí)命名的規(guī)范
4 回答標(biāo)識(shí)符 命名規(guī)范
2 回答求助關(guān)于規(guī)范問(wèn)題
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2017-01-14
public class HelloWorld{
? ? public static void main(String[] args) {
? ?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);