Object Context
Object related - can't be used in static areas.
Some keywords which are meant specifically for objects can't be used in static areas, for example, the main method.
From Object Context Qualifiers
Go to text ā
A note on Object Context Qualifiers
You'll find this term being used at some places in these notes. The term "Object Context Qualifiers" is not used anywhere generally and is not a "real" Computer Science term, AFAIK. Its a term I use for my understanding to refer to keywords which are used to discern or "qualify" the context of a member in an object, that is, to identify if a member being referred to is a member of the current class of the object, or its superclass.
Reasons why it makes sense
- Qualifiers do refer to lexical tokens which are used to remove ambiguity while identifying entities. So that's where this comes from.
- Another reason is Java's Qualified this construct.
- These keywords are used in object contexts, not static ones.
Children
Backlinks