For example, a string template which describes the json response
in the class, as a private constant
in a enum
in a class, just full of constants (data holder)
in an interface
in a file
but issues with IO performance for the size
https://stackoverflow.com/questions/1372991/should-a-collection-of-constants-be-placed-in-a-class-or-interfacearrow-up-right -
Last updated 6 years ago