import java.util.*;
/**
* java环境属性
*/
public class System_Info {
public static void main(String[] args) {
Properties p = System.getProperties();
Enumeration e = p.propertyNames();
while (e.hasMoreElements()) {
String key = (String)e.nextElement();
System.out.println(key + ":" + p.getProperty(key));
}
}
}

3721

被折叠的 条评论
为什么被折叠?



