This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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:->
SuperClass--->class java.lang.Object 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.