Dorothy.java
1    package mmw;
2    
3    //Create a simple melody
4    
5    import note.SNote;
6    
7    public class Dorothy {
8        public static void main(String[] args){
9            SNote note = new SNote();
10           note.text();
11           note.x2(); note.play();
12           note.rp(7); note.play();
13           note.s2();note.lp();note.play();
14           note.lp(2);note.s2();note.play();
15           note.rp();note.play();
16           note.x2();note.rp();note.play();
17           note.rp();note.play();
18           System.out.println();
19       }
20   }
21