課程
/后端開發
/Java
/Java入門第一季(IDEA工具)升級版
這個錯哪里了??
2019-07-27
源自:Java入門第一季(IDEA工具)升級版 2-5
正在回答
舉報
0基礎萌新入門第一課,從Java環境搭建、工具使用、基礎語法開始
4 回答public class HelloWorld{ public static void main(String[] args) { String love=“我愛慕課網”; String mylove=“www.xianlaiwan.cn”; String.out.println(love); String.out.println(mylove); } }
1 回答public class HelloWorld{ public static void main(String[] args) { string a="我愛慕課網"; string b="www.xianlaiwan.cn"; system.out.println(a); system.out.println(b); } }
4 回答public class HelloWorld{ public static void main(String[] args) { String hobby="我愛慕課網"; System.out.println(hobby); String imooc="www.xianlaiwan.cn"; System.out.println(imooc); } }
2 回答public class HelloWorld{ public static void main(String[] args) { String word1="我愛慕課網!"; String word2 ="www.xianlaiwan.cn"; system.out.println(word1);
2 回答public class HelloWorld{ public static void main(String[] args) { System.out.println(hobby); } }
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2019-07-28
System.out.println("myLove");里面的myLove不能加雙引號,后面的myURL也是這個問題。!?。。。∫爰与p引號的話應該是這個樣子,比如說:
System.out.println("輸出的結果是:"+myLove);?。。?!還有一個問題就是標點符號都必須是英文的,切記?。。?!