what is the form of storage space in java?
Answers were Sorted based on User's Feedback
for objects Head that is garbage collectable,
for methods,local variables are stored in stack.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
heap is the storage space for all the objects
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / neelamadhab mallick
All the instance variable stored in Stack Memory, If you r
using "new" operator for creating the objects means it will
create under Heap memory......
| Is This Answer Correct ? | 2 Yes | 2 No |
Program to print 1 1 2 1 2 3 1 2 3 4 like that
What is difference between throw and throws ?
Is java util regex pattern thread safe?
What is the difference between the continue and break statement?
How to change the priority of thread or how to set priority of thread?
waht happens when a return type ,even void is specified for a constructor?
Hi Friends, can u give code to convert ArrayList to HashMap and HashMap to ArrayList.
Are arrays dynamic in java?
What is unicode datatype?
What are the advantages of unicode?
java is puerly object oriented or not ?
Why pointers are not used in java?