In my program I have lots of string and repeated strings. Is there a way to separate the text strings from the source code. I do not want to hardcode the string within my program.
In PHP I used to have a file with list variables for each string. But because Java is OOP I do not know how to implement the same idea.
My program is a command line program.