How is Array implemented in Java?
I mean when I create an int array say like int intarray=new int; the intarray object is of which class?
Thirdly when I saw the modifiers of the class created to represent this array the modifiers showed "public,abstract and final"..Why is that so?
Fourthly form where does the attribute length come for an array?
I ran this code and the output is:->
It's an int array
Modifiers---->public abstract final
So can you explain the output?I am not able to figure out from where does the "length" attribute come from even if the class created does not have any attributes.