In a Java application, we shouldn't hardcode something which changes frequently. For example, database URL, username, passwords etc. If we hardcode those things we need to recompile, rebuild and redeploy the whole application possibly for a single li...