Where interfaces are built into the JVM, protocols are a Clojure-specific construct. To define a protocol, we use defprotocol :
確定! 回上一頁