Reference
A reference value points to a sequence of memory locations that may contain an object or array.
Related concepts: ValueTypeObjectArrayPrimitive
Closest Wikipedia entry: Reference (computer science)
Misconceptions about Reference28 documented Misconceptions
Check YourselfAssignmentCopiesObject — Java
Assignment copies the object
EqualityOperatorComparesObjectsValues — Java
o==p compares the objects referred to by variables o and p
EqualsComparesReferences — Java
o.equals(p) compares the references stored in the variables o and p
FinalReferenceImpliesImmutability — Java
An object referred to by a final variable is an immutable object
MultiReferenceVariable — Java
A reference variable can point to multiple objects
NullIsObject — Java
null is an object
ReferenceIntoStack — Java
References can point into the stack
ReferenceToBooleanCoercion — Java
Every reference type can be coerced to boolean
ReferenceToIntegerConversion — Java
One can cast between references and ints
ReferenceToVariable — Java
References can point to variables
SubtypeCompatibleWithSupertype — Java
A variable of a subtype can reference an object of a supertype
SupertypeIncompatibleWithSubtype — Java
A variable of a supertype cannot reference an object of a subtype
ThisAsField — Java
this is a special field in the object
ThisAssignable — Java
One can assign to this
ThisCanBeNull — Java
this can be null
ThisExistsInStaticMethod — Java
this is a local variable, also in static methods
ThisInConstructorIsNull — Java
In a constructor, this is null
VariablesHoldObjects — Java
A variable of a reference type contains a whole object
AssignmentCopiesObject — JavaScript
Assignment copies the object
ConstReferenceImpliesImmutability — JavaScript
An object referred to by a const variable is an immutable object
EqualityOperatorComparesObjectsValues — JavaScript
The equality operator compares two objects' values
NullIsObject — JavaScript
null is an object
ObjectAsParameterIsCopied — JavaScript
Objects are passed by value
ThisAssignable — JavaScript
One can assign to this
AssignmentCopiesObject — Python
Assignment copies the object
SelfAssignable — Python
Reassigning self changes the object on which a method is called
VariablesHoldObjects — Python
A variable contains a whole object
EqualityOperatorComparesListIdentities — Scratch
(list a) = (list b) compares the identities of list a and list b