title: Random Access in Array
body: <p>I was reading <a href="http://www.javatpoint.com/array-in-java" rel="noreferrer">this</a>, advantages of java, where it states that <code>random access</code> is an advantage of arrays in java. I do not understand how can accessing a random element of an array is an advantage. Shouldn't it be a disadvantage?</p>
  
  <p>Why is java allowing to access elements of an array randomly, if the data is stored continuously, shouldn't the data be accessed in an orderly manner?</p>