|
|
|
|
|
|
and class day can directly access the private members of time testworkin. |
|
|
testing.x
, but since x is private that won't work either. You'll either need to make x public, or you'll need to make some kind of getter function and call that to get x.
|
|
when i create an object of type day (ex day hello) there was one object named hello was created of type day, and it had 10 objects of type time. is that correct? |
testing.x