Chapter 2: Everything is an Object

xiaoxiao2021-03-06  36

Handle

Repayable location:

Stack. Reside in regular RAM (random access memory) area

heap. A conventional use of memory pool (also in the RAM area), where Java objects are saved

Static storage. "Static" here refers to "located in a fixed position" (although in the RAM). During the operation, the static stored data will wait any time. The available Static keyword indicates that a particular element of an object is static.

The main variable of the handle

转载请注明原文地址:https://www.9cbs.com/read-64599.html

New Post(0)