title: Is it necessary to specify the size of an array in java?
body: <p>Is it necessary to specify the size of an array in java
  Like is it necessary to every time do this</p>
  
  <pre><code>int arr[]=new int[n];
  </code></pre>
  
  <p>to specify the size is it necessary!
  (Don't consider ArrayList please!)</p>