The protocol might consist of other public features of the class, particularly exceptions, but restricting the protocol to methods keeps things simple without reducing a protocol’s benefits.
This page last modified on 24 January 2006.