title: Java - OR operator in an equals expression
body: <p>Would somebody be able to explain the following lines of Java code to me?</p>
  
  <pre><code>if (a == b){
  theArray[element1][element2] = theArray[element1][element2 - 1] || theArray[element1][element2]
  }
  </code></pre>
  
  <p>theArray is a Boolean, 2-dimensional array.</p>
  
  <p>I have never seen a logical or <code>(||)</code> used in an equals expression.
  How could the array element equal something OR something? I would very much appreciate some help with understanding how array elements could be equal to something OR something...</p>