課程
/后端開發(fā)
/Java
/Java入門第一季(IDEA工具)升級版
error: class, interface, or enum expected }
2018-09-29
源自:Java入門第一季(IDEA工具)升級版 3-3
正在回答
看看你第三個System.ou.println里輸出值了么?
"_"沒輸出three
我的代碼:
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);
????????three-=one;
????????System.out.println("three -= one ==> ");
????????three*=one;
????????System.out.println("three *= one ==> "+three);
????????three/=one;
????????System.out.println("three /= one ==> "+three);
????????three%=one;
????????System.out.println("three %= one==> "+three);
????}
}
? ? ? ??
舉報
0基礎(chǔ)萌新入門第一課,從Java環(huán)境搭建、工具使用、基礎(chǔ)語法開始
3 回答出現(xiàn)錯誤求解答
2 回答一個錯誤 , 求解。
2 回答總是有一個錯誤,求大神解答。
2 回答為啥一直出現(xiàn)錯誤
6 回答錯誤在哪??求解、
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2018-10-01
看看你第三個System.ou.println里輸出值了么?
2018-10-01
"_"沒輸出three
2018-09-29
我的代碼:
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);
????????three-=one;
????????System.out.println("three -= one ==> ");
????????three*=one;
????????System.out.println("three *= one ==> "+three);
????????three/=one;
????????System.out.println("three /= one ==> "+three);
????????three%=one;
????????System.out.println("three %= one==> "+three);
????}
}
? ? ? ??