title: Why doesn't java support pass by reference like C++
body: <p>I have read every where that primitive datatype and object references are passed by value?</p>
  
  <p>I have tried searching in Google why doesn't java support pass by reference , but <strong>I only get java does not support pass by reference</strong> and <strong>I couldn't find any reason behind it</strong>.</p>
  
  <p>Why can't you pass primitive datatype by reference ?</p>
  
  <p><strong>Edit :</strong> Most of the people have closed my question assuming that it is subjective and argumentative.</p>
  
  <p>Well it is not, it has a definite answer, my question is like why can't you create a object of abstract class and it is not duplicate as well because most of the answer just plainly say NO.</p>
  
  <p>Thanks.</p>