Vita Rara: A Life Uncommon

That is not exactly true about Groovy and Interfaces

Your comment "In Groovy when your class implements a Java interface it must have all the methods present". Is not exactly true there are more Groovy ways to implement interfaces rather than the Java way.

Groovy supports the 'as' keyword for implementing interfaces. Then you can choose which method you want to implement. See my post about it. implementing interfaces in groovy

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
  • Allowed HTML tags: <a> <img> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.
More information about formatting options