I have many classes with static final fields which are used as default values or config. What is best approach to create global config file? Should I move these fields to single
The answer depends...
enum
to static final
constants where possible (avoid "stringly typed" code)static final int SECONDS_IN_HOUR = 3600;
)public static final
in the class that has "most ownership" over them