How many types of memory areas are allocated by JVM in Java?
Below are the types of memory areas are allocated by JVM in Java
• Heap
• Stack
• Native Method Stack
• Program Counter Register
• Class(Method) Area