Constant values in the interface
https://softwareengineering.stackexchange.com/questions/175121
-
05-11-2019 - |
Question
Some time ago I have read two different books and each of them gives totally different answer for the question if it is a good pattern to define constant values in the interface (in java).
So I am curious of your opinions with some reasonable arguments.
Is it a good habit/ pattern to define constant values in interfaces in java?
Is it generally good, generally bad or it depends?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with softwareengineering.stackexchange