Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
In the Java rules round up game it said that one object can access the private variable of another. But I got an error for the following code.
Can somebody please explain?
Thanks in advance.
There is nothing to explain. An object of one class type can't access the provide variables of another object of a different class type. Perhaps the "round up" game asked about accessing the variable of another object of the same class type, which is allowed.