一道oo design方面的题目,请大家帮忙看下。
Your task, for this question, is to construct a conceptual model of the Java type system. It captures the relationships between classes and interfaces, and between the declared types of Telds and the types of the objects they hold. It ignores primitive types and local and static variables.
图片:http://www.matrix.org.cn/resource/upload/content/2005_08_23_173447_hptberDumm.jpg
Q1. Which Class has all Classes except itself (based on LSP) ? (4 points)
Q2. Class has relation “implements” to interface. May class (Java) has self-association ? If class may has self-association which relation Java uses ?
Q3. Describe the multiplicity (number-number) for the self-association. (3 points)
图片:http://www.matrix.org.cn/resource/upload/content/2005_08_23_173447_hptberDumm.jpg
Q1. Which Class has all Classes except itself (based on LSP) ? (4 points)
Q2. Class has relation “implements” to interface. May class (Java) has self-association ? If class may has self-association which relation Java uses ?
Q3. Describe the multiplicity (number-number) for the self-association. (3 points)
...全文
相关推荐
OO design book
OO designA detailed OO design description book.Building Skills in Object-Oriented Design.Step-by-Ste
oo-design-patterns
oo-设计模式内容创造力的AbstractFactory:抽象工厂模式提供了一种封装一组具有共同主题的单个工厂而无需指定其具体类的方法。 在正常使用中,客户端软件会创建抽象工厂的具体实现,然后使用工厂
oo design principles
面向对象(Object-Oriented, OO)设计原则是软件开发中的基石,它们为创建可维护、可扩展且灵活的代码提供了指导。以下是五个主要的OO设计原则及其详细解释:1.
uml建模讲义 OO方法、RUP与UML建模
《UML建模讲义:OO方法、RUP与UML建模》在软件开发领域,面向对象分析与设计(Object-Oriented Analysis and Design,简称OOAD)已经成为主流技术,而UML(Unified
apostila-oo-avancado-em-java:Apostila do cursoPráticasde Design e Arquitetura deCódigoda Caelum。 https
阿波斯蒂拉博物馆和阿基加图拉 da Caelum 请访问以下: ://www.caelum.com.br/curso-design-arquitetura-de-aplicacoes-javaLic


