If I put constant variable values directly in classes, its panic when this value get changes.
If i make a constant class to keep such constants it helps to do changes in one class only. But again I need to identify all the classes which are using these constants. Because recompilation is required.
then what is the need of separate constant class?
suggest me another way to manage constants, if better.
Use property file instead of making constant class