Rule 7: Design interfaces for posterity
Using interface to define constants in exposing the internal values of class being used. Instead of this Following can be done:
- 1.Use non-instantiable class(private constructor) with public static values.
- Note: You can use static imppport to avoid class.CONSTANT calling convention.
- if the constants are [enumerated type] put the CONSTANT in enum
- if the constants are specific to class put it into the CLASS or Interface itself