Nov-09-2020, 01:06 PM
(Nov-09-2020, 12:05 PM)buran Wrote: Also, because this is homework, I don't know if you are familiar with the concept of inheritance and given that we don't have the full assignment - is it possible that you are asked to have some of your classes inherit from some of the other? I admit that human body is not best example to implement inheritance, but who knows...
Regarding inconsistencies, I will read and improve, I thought it is not important.
I know the inheritance, however its not specified to use it or not.
1. Is it possible to pass "bode" object further into the "Fabric" and modify "eyes" variable.
2. How to modify eyes variable which is inside "bode" or any other "Body" class object which may be created.
tope = Top(3, 2, 2) bote = Bottom(3, 3) bode = Body(tope, bote) ----fabric = Fabric(bode) ?