Link Details

Link 64523 thumbnail
User 194430 avatar

By aglover
via thediscoblog.com
Published: Feb 02 2008 / 20:03

In Plain Jane Java you can’t actually add methods to Java’s String as it is a final class– what’s more, you can’t easily add methods to non-final classes at runtime either. With Groovy, however, you can.
  • 18
  • 1
  • 1812
  • 414

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.