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.
Hello, I know that the objects are created on HEAP and so I believe that the references to it reside on STACK.
Is an array created on STACK or on HEAP ? In other words, does it behave like a primitive variable (which is created on STACK) or like an object (Which is created on HEAP or in between? If it is in between, what is on STACK and what is on HEAP?