Where can I find the definition of the method: java.lang.System.getProperties().list()# Java - 爪哇娇娃
r*r
1 楼
Just began to learn Thinking in Java, 4th edition. I read the method in the
title among the following code, but failed to find its definition. Anyone
can give me a hint? Thanks in advance.
----on Page 76 of Thinking in Java, 4th edition -------
//: object/ShowProperties.java
public class ShowProperties {
public static void main(String[] args) {
System.getProperties().list(System.out);
System.out.println(System.getProperty("user.name"));
System.out.println(
System.getProperty("java.library.path"));
}
} ///:~
title among the following code, but failed to find its definition. Anyone
can give me a hint? Thanks in advance.
----on Page 76 of Thinking in Java, 4th edition -------
//: object/ShowProperties.java
public class ShowProperties {
public static void main(String[] args) {
System.getProperties().list(System.out);
System.out.println(System.getProperty("user.name"));
System.out.println(
System.getProperty("java.library.path"));
}
} ///:~