JAVA传入换行属性

来源:互联网 发布:购网络机顶盒 编辑:程序博客网 时间:2024/06/16 02:39
public class Test {

public static void main(String[] args) {
String demo ="demo";
demo+=System.getProperty("line.separator");
demo+="demo1";
System.out.println(demo);
}


}