Hello there, i've been reading K&B and among other questions i have this one:
K&B
You may see the words "construct", "create", and "instantiate" used
interchangeably. They all mean, “An object is built on the heap.” This also implies that
the object’s constructor runs, as a result of the construct/create/instantiate code. You can
say with certainty, for example, that any code that uses the keyword new, will (if it runs
successfully) cause the class constructor and all superclass constructors to run.
Ok, so given that i have classes A, B extends A, C extends B, if i say
there will be three objects created on the heap (since constructors for A and B will also be called), not just the C object. Is that right?