Explain heap and stack in a process?
Submitted by: AdministratorThey are two separate areas of memory in same process. Talking about Java, stack is used to store primitive values and reference type to object but actual object is always created in heap. One critical difference between heap and stack is that, heap memory is shared by all threads but each thread has their own stack.
Submitted by:
Submitted by:
Read Online Analyst Integration Job Interview Questions And Answers
Top Analyst Integration Questions
☺ | Explain recursive algorithm? |
☺ | How to find if a number is power of two, without using arithmetic operator? |
☺ | Explain stateless system? |
☺ | Explain about critical section? |
☺ | Explain regular expression? |
Top Analysis Categories
☺ | GIS Interview Questions. |
☺ | Statistics Interview Questions. |
☺ | Financial Analyst Interview Questions. |
☺ | GIS Analysis Interview Questions. |
☺ | Data Analyst Interview Questions. |