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
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