Old MacDonald Had A Farm.
From Huben's Wiki
Line 6: | Line 6: | ||
into a new folder, and then load them into DrJava. | into a new folder, and then load them into DrJava. | ||
− | Instructions are in TestAnimal. | + | Don't look at Animal.class: it is compiled and will look confusing. But it will work fine. Just look at TestAnimal.java. |
+ | |||
+ | 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. | ||
* Reading the song on Macs: | * Reading the song on Macs: |