According to the law of Demeter,where should objects NOT send messages?To objects returned directly by their own methods To objects returned by other objects To themselves To objects of their own class To their superclasses
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 07:28:09
According to the law of Demeter,where should objects NOT send messages?To objects returned directly by their own methods To objects returned by other objects To themselves To objects of their own class To their superclasses
According to the law of Demeter,where should objects NOT send messages?
To objects returned directly by their own methods
To objects returned by other objects
To themselves
To objects of their own class
To their superclasses
According to the law of Demeter,where should objects NOT send messages?To objects returned directly by their own methods To objects returned by other objects To themselves To objects of their own class To their superclasses
选第2个 To objects returned by other objects
law of Demeter 指迪米特法则 见这里http://baike.baidu.com/view/823220.htm