Mega Code Archive

 
Categories / Java Tutorial / Development
 

Create a user-defined property or change the value of the current property

public class MainClass {   public static void main(String[] args) {     System.setProperty("password", "myPassword");     System.out.println(System.getProperty("password"));   } } myPassword