How many types of memory areas are allocated by JVM?
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are three types of memory areas allocated by the Java Virtual Machine: Heap, Stack, and Native. The Heap is used to store objects created by the applications running on the JVM. The Stack is used to store local variables and method parameters. The Native area is used to store data that is specific to the platform on which the application is running. For example, on a Windows platform, the Native area would be used to store the addresses of loaded DLLs.