1、获取系统的Properties

2、输出所有的属性与属性值

3、获取单个属性的方法

1、1.通过System.getProperty获取制定属性的属性值
2.System.getProperties获取当前环境的所有环境变量
时间:2026-02-15 18:46:24
1、获取系统的Properties

2、输出所有的属性与属性值

3、获取单个属性的方法

1、1.通过System.getProperty获取制定属性的属性值
2.System.getProperties获取当前环境的所有环境变量