title: Java equivalent of Cocoa delegates / Objective-C informal protocols?
body: <p>What is the Java equivalent of Cocoa delegates?</p>
  
  <p>(I understand that I can have an interface passed to a class, and have that class call the appropriate methods, but I'm wondering if there is any other way to achieve something closer to Cocoa/Objective-C's informal protocols)</p>