請問有錯嗎 怎么輸進去都是錯誤的
請問有錯嗎 怎么我輸進去都是錯誤 public class HelloWorld{ ? ?public static void main(String[] args) { String haohao = "我愛慕課網"; ? ? ? ?String haoren = "idcbgp.cn"; ? ? ? ?System.out.printly(haohao + "\n" + haoren); } }
請問有錯嗎 怎么我輸進去都是錯誤 public class HelloWorld{ ? ?public static void main(String[] args) { String haohao = "我愛慕課網"; ? ? ? ?String haoren = "idcbgp.cn"; ? ? ? ?System.out.printly(haohao + "\n" + haoren); } }
2016-12-04
舉報
2016-12-04
你問題里的輸出錯了 println ? ?下面的回答是對的
2016-12-04
這個沒錯的啊
2016-12-04
wobuzhidaoye
2016-12-04
public class HelloWorld{
? ? public static void main(String[] args) {
String s1 = "我愛慕課網";
? ? ? ? String s2 = "idcbgp.cn";
System.out.println(s1 + "\n" +s2);
}
}