2: stack area and heap area

Stack storage area (fixed size): The basic data types and references to the address data type (data type: int byte long short double float non-data type: boolean, char) in the stack

Heap storage (variable size): reference data type: string such as  

Guess you like

Origin www.cnblogs.com/jiafeng1996/p/12275636.html