What is the difference between following 2 approaches in creating an array.
Which is preferred depending on the use?

Approach 1:


int a[]= new int[5];
a[0]...