Java Language Specification, Version Java SE 21 Edition
4.3.1. Objects8 Documented Misconceptions
AddMemberAtRuntime
Set of class members can change at runtime
AssignmentCopiesObject
Assignment copies the object
NoStringToString
One cannot invoke toString() on a String
NullIsObject
null is an object
ReferenceIntoStack
References can point into the stack
ReferenceToVariable
References can point to variables
ToStringPrints
Invoking toString() prints something
VariablesHoldObjects
A variable of a reference type contains a whole object