This is a BON Diagram on the classes.
Notice how in the example, the attributes were not created into instances. At run time a
uses take_off
from b
. I'm just wondering how take_off
is being initialized in the B_747 class. In my assignment, I have a case where it's like b := a.b
c := a.c
where B_747
b
and c
each has the same attributes, but different value assigned to each. I don't know how to initialize the attributes without them being instantiated. It says I'm not allowed to use b.make ("abc", 123)
.Can someone give me an example on how to implement this. Also, I'm not really sure what b:=a.b
really means.