我以前一直認為, operation 與 method 是相同的,不過在看過定義之後,確實有所不同
在Applying UML and patterns[Craig Larman] ,P186中,有這樣一段擷取自UML對operation的定義
The UML formally defines operations.
An operation is a specification of a transformation or query that an object may be called to execute [RJB99]
在其之下也說明了operation 與 method 在UML中的精神
For example, the elements of an interface are operations, in UML terms. An operation is an abstraction, not an implementation. By [...]
