Old MacDonald Had A Farm.
From Huben's Wiki
(Created page with "You may be wondering why, here in Starfleet Academy, we are studying farms. Allow me to remind you that http://en.wikipedia.org/wiki/James_Kirk James Tiberius Kirk grew up o...") |
|||
Line 1: | Line 1: | ||
You may be wondering why, here in Starfleet Academy, we are studying farms. Allow me to remind you that [[http://en.wikipedia.org/wiki/James_Kirk James Tiberius Kirk]] grew up on a farm in Iowa. | You may be wondering why, here in Starfleet Academy, we are studying farms. Allow me to remind you that [[http://en.wikipedia.org/wiki/James_Kirk James Tiberius Kirk]] grew up on a farm in Iowa. | ||
− | Download these two files: | + | Make a new folder, named "Farm". Download these two files into it: |
− | * | + | * [http://dl.dropbox.com/u/20086520/AP%20Comp%20Sci/CH11/McDonald/Animal.class Animal.class] |
− | * | + | * [http://dl.dropbox.com/u/20086520/AP%20Comp%20Sci/CH11/McDonald/TestAnimal.java TestAnimal.java] |
− | + | Then load the two files into DrJava. | |
Instructions are in TestAnimal.Java. When you are successful, the program will inform you. At that point, you can uncomment the "Animal.song();" line, and you should get a correct rendition of the song. When you know how to make your computer read the song, we can put the instructions here. | Instructions are in TestAnimal.Java. When you are successful, the program will inform you. At that point, you can uncomment the "Animal.song();" line, and you should get a correct rendition of the song. When you know how to make your computer read the song, we can put the instructions here. |