Skip to content

Instantly share code, notes, and snippets.

@applegateaustin
Created October 12, 2012 20:06
Show Gist options
  • Save applegateaustin/3881228 to your computer and use it in GitHub Desktop.
Save applegateaustin/3881228 to your computer and use it in GitHub Desktop.
old MacDonald
public class TestOldMacDonald {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
OldMacDonald farmer = new OldMacDonald();
Animal type = new Animal();
type.setSound("moo");
type.setType("cow");
farmer.sing();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment