title: What is the best way to implement constants in Java?
body: <p>I've seen examples like this: </p>
  
  <pre><code>public class MaxSeconds {
     public static final int MAX_SECONDS = 25;
  }
  </code></pre>
  
  <p>and supposed that I could have a Constants class to wrap constants in, declaring them static final. I know practically no Java at all and am wondering if this is the best way to create constants.  </p>