Java Properties(Properties defaults) Constructor
Syntax
Properties(Properties defaults) constructor from Properties has the following syntax.
public Properties(Properties defaults)
Example
In the following code shows how to use Properties.Properties(Properties defaults) constructor.
import java.util.Properties;
// w w w . j a v a 2 s . com
public class Main {
public static void main(String[] args) throws Exception {
Properties defaultPro = new Properties();
Properties pro = new Properties(defaultPro);
}
}
Home »
Java Tutorial »
java.util »
Java Tutorial »
java.util »