well i got some dam silly doubt may be here it is
Well array is a reference type right of array have n elements then its length will be "n" via array.length property
But when array has nothing in it like say length is "ZERO" i we try to find out :)
As array is a reference type it stores default "NULL" i.e value types "ZERO" as known ..
So,wen there are no elements present in it HOW COME LENGTH BECOME "ZERO" is there any conversion going on :)
How come we decide a length of a nothing present :-p
Thank you

VulpesPosted Mar 11, 2013, 3:48 PM
SUNIL GUTTAPosted Mar 11, 2013, 3:24 PM
lbeit an empty one
finally u mean to say size of an empty array is ZERO right :)
But u said arr[0] which doesn't contain anything just empty ..
IS empty means ZERO or NuLL or anything ?
VulpesPosted Mar 11, 2013, 2:12 PM
If you then do this: