guwenren
package itcast.java16;

import java.util.Properties;

/*
 * 获取系统一些特有信息
 */
public class SystemDemo1 {
    public static void main(String[] args) {
        Properties properties = System.getProperties();
        for (Object o : properties.keySet()) {
            System.out.println("key:" + o + ",value:" + properties.get(o));
        }
    }
}

 

分类:

技术点:

相关文章:

  • 2021-09-24
  • 2021-11-15
  • 2021-08-15
  • 2021-10-15
  • 2021-11-03
  • 2021-11-06
  • 2021-11-27
  • 2021-11-07
猜你喜欢
  • 2021-11-07
  • 2021-08-15
  • 2021-08-15
  • 2021-11-07
  • 2021-08-15
  • 2021-08-15
  • 2021-08-15
相关资源
相似解决方案