This program is going to print the Old MacDonald song by using a single static method. It is written in Java using the Netbeans IDE.