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 |
What is hash code collision?
How do you include a string in java?
What is the longest unicode character?
What is the main difference between java platform and other platforms?
What is the difference between a break statement and a continue statement?
What is advantage of java?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
Difference between interface and abstract class with ex.
4 Answers Cognizant, Tech Mahindra,
how you will prevent method overriding?
Explain scope or life time of local variables in java?
What is the declaration statement?
Definition for connection pooling?