标签:class oid col pre sys ati ice code span
获取系统属性:
import java.util.*; public class Practice_1 { public static <K, V> void main(String[] args) { Properties prop = System.getProperties(); for(Object obj : prop.keySet()) { String value = (String)prop.get(obj); System.out.println(obj+"..."+value); } } }
标签:class oid col pre sys ati ice code span
原文地址:https://www.cnblogs.com/zxl1010/p/11466942.html