Created
October 12, 2012 20:06
-
-
Save applegateaustin/3881228 to your computer and use it in GitHub Desktop.
old MacDonald
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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