DRAFT
NoFieldInheritance
Incorrect
An object contains only the fields declared in its class
Correct
CorrectionHere is what's right.
Here is what's right.
An object (an instance of a class) contains all the fields declared in its class, its superclass, and that class’ superclasses (transitively, all the way to the top of the class hierarchy, class Object).
Language
Java