今天碰到一道面试题UML的
不解
大家帮我看一下题目是:用一个类画出一个类图,表示网络中的节点有其继任者,也有前任,同时,如果两个节点在同一个区域的话,他们是互斥的。
大家有能画出来的吗?
我都不太理解什么意思
就当学习了

解决方案 »

  1.   

    应该是UML中类与类的关系问题吧,依楼主所说应为泛化关系与关联关系
      

  2.   

    可能我翻译的有点问题
    这个是原题
    Using only one class draw a class diagram which states that a node in a network structure has
    successor(s) and predecessor(s) nodes and if two nodes are in the same region then they are mutually
    exclusive.
      

  3.   

    UML这种东西要在项目中体会
    看课本什么都理解不了