title: If an array is assigned to an Object Reference, then what does the Object Reference point to?
body: <p>In Java, it is possible to assign an array to an Object Reference.</p>
  
  <pre><code>class Sample{
       public void access(){
       int a[]= {1,2,3,4};
       Object oRef = a;
    }
  }
  </code></pre>
  
  <p>What does it mean for a reference to refer to an array? An array is a number of elements while a reference is a single element. So what is the meaning of this reference? The second question is, since it is possible to assign a reference to an array, is there a way to access the elements of the array using the reference?</p>