請(qǐng)問(wèn)有錯(cuò)嗎 怎么輸進(jìn)去都是錯(cuò)誤的
請(qǐng)問(wèn)有錯(cuò)嗎 怎么我輸進(jìn)去都是錯(cuò)誤 public class HelloWorld{ ? ?public static void main(String[] args) { String haohao = "我愛(ài)慕課網(wǎng)"; ? ? ? ?String haoren = "idcbgp.cn"; ? ? ? ?System.out.printly(haohao + "\n" + haoren); } }
2016-12-04
你問(wèn)題里的輸出錯(cuò)了 println ? ?下面的回答是對(duì)的
2016-12-04
這個(gè)沒(méi)錯(cuò)的啊
2016-12-04
wobuzhidaoye
2016-12-04
public class HelloWorld{
? ? public static void main(String[] args) {
String s1 = "我愛(ài)慕課網(wǎng)";
? ? ? ? String s2 = "idcbgp.cn";
System.out.println(s1 + "\n" +s2);
}
}