站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

[Top] [Prev] [Next] [Bottom]

Appendix B: Legend for Class Diagram

In a class diagram, we visually distinguish the different kinds of Java entities, as follows:

  1. The interface: A rounded rectangle
  2. The class: A rectangle
  3. The abstract class: A rectangle with an empty dot
  4. The final class: A rectangle with a black dot
  5. Classes with subclasses: A rectangle with a small black triangle on the lower right corner

    Most of these elements are shown below. The class or interface being described in the current chapter is shaded grey (this is not applicable for package class diagrams). A solid line represents extends, while a dotted line represents implements.



[Top] [Prev] [Next] [Bottom]

jndi@java.sun.com
Copyright © 1999, Sun Microsystems, Inc. All rights reserved.