title: Reference(address) storage in variable Java
body: <p>How can I store the address of one object or variable in another object in Java. Like we do in C++</p>
  
  <p>int a=&b; // b is also int</p>
  
  <p>If I want to pass reference type objects by reference in Java to any method, how can I do this cuz by default they are passed by value.</p>