Which to use Properties file or java file with constants
807605Jul 4 2007 — edited Jul 4 2007Hi all, I have a small problem which I could not get anything on Google.
I have some attributes which are used in a java program, now these constants can vary depending on certain rare conditions and maybe not at all. So the thing is should I add these as constants in a java file or make a key value pair entry using a class(java file).
Can anyone explain which is better and also which to use when, or provide some links.
this would be really helpful
Thanks in advance