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


VulpesRank #55 · 29.2K reputationPosted Mar 11, 2013, 11:48 AM EDT
VulpesRank #55 · 29.2K reputationPosted Mar 11, 2013, 10:12 AM EDT
If you then do this:
SUNIL GUTTARank #1,831 · 810 reputationPosted Mar 11, 2013, 11:24 AM EDT
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 ?