java memory is divided into five parts
1, the stack (stack): the method are stored in local variables
2, the heap (heap): out of all new objects, which are in the heap, each object has a hexadecimal value is the address, which heap memory data has a default value,
3, method area (method area): class related information is stored, the method comprising infos
4, native method stacks
5, the register