package Object_Oriented;
import java.util.Properties;
import java.util.Set;
//唯一和I/O流结合的集合
public class Prop {
public static void main(String[] args) {
show01();
}
private static void show01() {
Properties prop = new Properties();
prop.setProperty("Lily","168");
prop.setProperty("Bill","175");
prop.setProperty("Kathy","170");
System.out.println(prop.get("Lily"));
Set set = prop.stringPropertyNames();
for (String s : set) {
System.out.println(s);
}
}
}



