请问,这是什么意思System.getProperty("line.separator");谢谢System.getProperty("line.separator");

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 00:16:38
请问,这是什么意思System.getProperty(

请问,这是什么意思System.getProperty("line.separator");谢谢System.getProperty("line.separator");
请问,这是什么意思System.getProperty("line.separator");谢谢
System.getProperty("line.separator");

请问,这是什么意思System.getProperty("line.separator");谢谢System.getProperty("line.separator");
在这个平台下行与行之间的分隔符
相当于“\n”
还有很多其它参数
os.name Operating system name
os.arch Operating system architecture
os.version Operating system version
file.separator File separator ("/" on UNIX)
path.separator Path separator (":" on UNIX)
line.separator Line separator ("\n" on UNIX)
user.name User's account name
user.home User's home directory
user.dir User's current working directory