System.out.println(mylove +"\n"+ web);里面这个“\n"是什么意思
public class HelloWorld{
public static void main(String[] args) {
String mylove = "我爱慕课网";
String web = "www.imooc.com";
System.out.println(mylove +"\n"+ web);
}
}
public class HelloWorld{
public static void main(String[] args) {
String mylove = "我爱慕课网";
String web = "www.imooc.com";
System.out.println(mylove +"\n"+ web);
}
}
2019-11-11
举报