Image

Imagevalera wrote in Imagejava_dev

Arrays

What's the difference between declaring an array as int[] a; and int a[];? Which way is usually used, and why?

Also, if i have class Something and I declare an array of Something as such: Something objS[] = new Something[20]; what is each element of the array set to, null? Is there a way to change this behavior?