Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the difference Java Heap Memory vs Stack Memory ? How we can set memory area for both of them?

user-image
Question ajoutée par Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
Date de publication: 2014/09/22

the main difference between java stack memory and heap memory is ,in stack memory is used to store local variables and function call .

while heap memory is used to store object in java,where object is created as member variables,class variables ,they are always created inside heap space in java 

More Questions Like This