I have a properties file, named prop.properties
. In my main code, I have both System.getProperty()
and properties.getProperty()
.
My question is: are they both get property from prop.properties
or they will get property from different places, properties.getProperty()
get property from prop.properties
and System.getProperty()
get property from other place.