Suppose class Car has public variables doB and doA, and a public method doC()
.
Class Driver manipulates an instance of Car by changing the variables and then calling the method.
Which statements are true?
Choose all that apply.
B, D.
Tightness of coupling expresses the degree to which one class relies on knowledge of the internals of another class.
Tight coupling is undesirable because if class Car changes the way it stores its data, class Driver (and any other similarly coupled classes) needs to be rewritten.