What are the naming conventions for property names defined in properties files in Java? Can I use uppercase or only lowercase?
For example: bankAccountNumber or bank.acc
As per my understanding, there is no any standard rule written for .properties
file in java.
but if you see the .properties
files inside the lib
folder of Java\jre
most of them have lower cased .properties
file names. And the properties
themselves are also lower cased.
such as:
psfontj2d.properties
key values
courier_new=courier
courier_new_bold=courier_bold