title: If booleans are immutable in Java, how am I able to change this boolean?
body: <p>The code below prints true.</p>
  
  <pre><code>public static void main(String[] args) {
  
          Boolean test = false;
          test = true;
          System.out.println(test);
  </code></pre>
  
  <p>If booleans are immutable in Java, how am I able to change test from false to true?  Shouldn't it give me an error?</p>