Skip to content

Instantly share code, notes, and snippets.

@Swader
Created October 10, 2012 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Swader/3863348 to your computer and use it in GitHub Desktop.
Save Swader/3863348 to your computer and use it in GitHub Desktop.
Printers
package test
abstract class Printer {
def output()
}
class HelloWorldPrinter extends Printer {
def output() {println("Hello World!")}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment