Product SiteDocumentation Site

4.2.2. Scope

A scope refers to the methods and object variables defined for a single class (not including the superclasses). Only methods defined in a particular scope can access the object variables within that scope. This means that object variables in a subclass can have the same names as object variables used by a superclass, because the variables are created at different scopes.