Hello & hi
See the folowing code,given two lines of code indicated as line1 & line 2 in main(),
now in line 1, var args method is called with 'Integer[]';
line 2, it is called with 'primitive int array';
My Problem is "why in case of primitive int array, the 'ob'j array is (the parameter of printAray()) is not aliased to the array in which
1,2,3,4 are present (see line 2) ?it is just becoming an array with length 1 & holding the refference to the int array...
please explain me the significant difference between these two...
and
Thanks to the all ranchers who are helping
alot....