title: Kotlin boxed Int are not the same
body: <p>Please help me understand this piece of code in the kotlin docs:-</p>
  
  <pre><code>val a: Int = 10000
  print(a === a) // Prints 'true'
  val boxedA: Int? = a
  val anotherBoxedA: Int? = a
  print(boxedA === anotherBoxedA) // !!!Prints 'false'!!!
  </code></pre>
  
  <p>Now, I understand that first <code>int a = 10000</code> then in the next line it is comparing it using <code>===</code>.</p>
  
  <p>Now the question is why when it assigned <code>boxedA=a</code>, it checked if it is null using <code>int?</code>. Can it just be written like this:-</p>
  
  <pre><code>val boxedA: Int=a
  </code></pre>
  
  <p>Please if I'm understanding it the wrong way, someone guide to check the right place or explain it a bit for me. </p>