Constructor-method names are same as name of the class. The this Keyword Allows methods to refer to the object that invoked it. Can use this anywhere a reference to an object o the current class type is permitted. Instance Variable Hiding When a local variable has the same name as an instance variable, tha local variable hides the instance variable. What about destroying them when they are not required anymore.
Garbage collector runs periodically.
Checks for objects that are no longer referenced by any running state or indirectly through other referenced objects. Object assumed to be no longer needed. Memory occupied by the object is reclaimed. You specify those actions that must be performed before an object is destroyed. Called just prior to garbage collection.