I am thinking about that. what is difference between writing code..
int[] arr1 = {1,2,3} ;
and
int[] arr2 = new int[]{1,2,3} ;
Recently I give a interview in which round-1 online test they write like this so i just think about it.
I am thinking about that. what is difference between writing code..
int[] arr1 = {1,2,3} ;
and
int[] arr2 = new int[]{1,2,3} ;
Recently I give a interview in which round-1 online test they write like this so i just think about it.