Is there a significant difference between these two lines of code?
int[] array = new int[]{1,2,3}
int[] array = {1,2,3}
If I had to guess, the same constructor is called implicitly in the second version, making them identical.
Edit: This question was explored previously here but with default values. My question regarded the initialization of an array with non-default values.