Hi
In Java Objects are stored in Heap and Primitive types and static varibables are stored in stack.
But my question is why Objects are stored in Heap and Primitive types and static varibables are stored in stack?
can any one know the answer please tell me.
Thanks
Vinoth
In Java Objects are stored in Heap and Primitive types and static varibables are stored in stack.
But my question is why Objects are stored in Heap and Primitive types and static varibables are stored in stack?
can any one know the answer please tell me.
Thanks
Vinoth
Comment