在UML2.0的13种图形中,类图是使用频率最高的UML图之一。MartinFowler在其著作《UMLDistilled:ABriefGuidetotheStandardObjectModelingLanguage,ThirdEdition》(《UML精粹:标准对象建模语言简明指南(第3版)》)中有这么一段:“Ifsomeoneweretocomeuptoyouinadarkalleyandsay,'Psst,wannaseeaUMLdiagram?'thatdiagramwouldprobablybeaclassdiagram.ThemajorityofUMLdiagramsIseeare