4.13 面向对象系统设计
4.13 面向对象系统设计
4.13.9 对象间关联方式的考虑
4.13.9 对象间关联方式的考虑
l 对象视域 (Visibility):
l Visibility is the ability of an object to “see”or have a reference
to another object.
l In order for a sender object to send a message to a receiver
object, it must have visibility to the receiver.
75 - 1
4.13 面向对象系统设计
4.13 面向对象系统设计
4.13.9 对象间关联方式的考虑
4.13.9 对象间关联方式的考虑
l Visibility must be estabilished; it doesn’t happen automatically.
l There are four common types of visibility.
原创力文档

文档评论(0)