Sound Demonstration

In this simple class a sound is played. Reload the page to hear the sound again.

import java.applet.Applet;
public class SoundDemo extends Applet {

public void init() {

play (getCodeBase(), "sounddemo.wav");

}

}

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License