title: How kotlin handles value type and reference type?
body: <p>I am shifted from c# to kotlin. Not sure how kotlin handles reference type and value type data types, also not sure how kotlin handles the reference when we assign one variable to another like following </p>
  
  <pre><code>var x = 14
  var y = x
  y = 5
  println(x)
  </code></pre>
  
  <p>I am not sure it will print 14 or 5</p>
  
  <p>Thanks</p>