《Head First Java》读书笔记(四) 崔叉叉 收录于 阅读 2023/02/14 2023/02/14 约 96 字 预计阅读 1 分钟 次阅读 条评论 目录 Chapter 9 Life and Death of an Object The stack and the heap, where objects and variables live Methods on the stack Where local variables live Where instance variables live The miracle of object creation Constructors (the code that runs when you say new) Initializing the state of a new Duck Overloaded constructors Superclass constructors (constructor chaining) Invoking overloaded constructors using this() Life of an object Garbage Collection (and making objects eligible) Exercises and puzzles 摘要 《Head First Java》读书笔记(四)。 Chapter 9 Life and Death of an Object The stack and the heap, where objects and variables live Methods on the stack Where local variables live Where instance variables live The miracle of object creation Constructors (the code that runs when you say new) Initializing the state of a new Duck Overloaded constructors Superclass constructors (constructor chaining) Invoking overloaded constructors using this() Life of an object Garbage Collection (and making objects eligible) Exercises and puzzles 若您觉得文章有帮助,欢迎打赏!打赏后可获得 1对1 VIP咨询服务😘 微信打赏 支付宝打赏