This Java tips illustrates a method of getting and setting properties. Developers may set value properties in code. Developer may also get an input from user and use the input to set values.

  String string = properties.getProperty("a.b");
    properties.setProperty("a.b", "new value");