thinking in java (2)

1. Your objects might not get garbage collected.
   Garbage collection is not destruction.
   Garbage collection is only about memory.

2. Within a class, the variables are initialized before any methods can be called--even the constructor.

3. Within a interface, the fields are default static and final. And the method access control is public by default.

4. It's possible to place a class definition within another class definition. This is called an inner class.

5. RTTI

你可能感兴趣的:(java,Access)