title: Is it acceptable to re-use a constant across different packages?
body: <p>Apologies if this is not the right place to ask this question. I have also checked related questions like <a href="https://stackoverflow.com/questions/38348454/best-practices-to-define-constants-used-in-an-app" title="this">this</a> or <a href="https://stackoverflow.com/questions/2305727/string-constants-vs-resource-bundle-in-an-java-web-application">this</a> but it is not exactly the same thing.</p>
  
  <p>The question is really simple, let's say that we have somewhere on our application a constant defined like this:</p>
  
  <pre><code>public static final String CONSTANT_NAME = "My Constant";
  </code></pre>
  
  <p>And in a different package, we also need the same constant. Is it acceptable (aka good practice) to reuse the existing one or should we create a new one (and then declare both as private/protected if applicable)?</p>
  
  <p>I am talking about constants used in the application like key names to retrieve from Collections, not internationalization constants.</p>
  
  <p>Thanks in advance.</p>