欢迎光临
我们一直在努力

Java Programming Chapter 4——Application of references

Application of references

1. References: store the addresses of objects in the heap space.

2. Each newly created object is independent of each other in the heap space.

3. References can be declared first and then assigned, and null can be used as the initial data of references.

4. References pass the addresses of objects in the heap space; Variables of basic data types pass numeric values.

赞(0)
未经允许不得转载:171主机测评 » Java Programming Chapter 4——Application of references
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址