the-fool

System的properties中有很多系统属性:

        System.out.println(System.getProperty("os.name"));
        System.out.println(System.getProperty("os.version"));
   

结果:

Mac OS X
10.13.6

 

 

 

 

 

???:

System.setProperty("aaabbb","test");
System.out.println(System.getProperty("aaabbb"));

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-10-22
  • 2022-02-23
  • 2021-12-10
  • 2021-12-10
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-19
  • 2022-01-31
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案