title: Java static final values replaced in code when compiling?
body: <p>In java, say I have the following</p>
  <pre><code>==fileA.java==
  class A
  {  
      public static final int SIZE = 100;
  }  
  </code></pre>
  <p>Then in another file I use this value</p>
  <pre><code>==fileB.java==  
  import A;
  class b
  {
        Object[] temp = new Object[A.SIZE];
  }
  </code></pre>
  <p>When this gets compiled does <code>SIZE</code> get replaced with the value 100, so that if I were to replace the FileA.jar but not FileB.jar, would the object array get the new value or would it have been hardcoded to 100 because that's the value when it was originally built?</p>