Tuesday, April 10, 2012
AJP-2marks
Answer for 8th question:
import java.applet.*;
AudioClip ac = getAudioClip(getCodeBase(), soundFile);
ac.play(); //play once
ac.stop(); //stop playing
ac.loop(); //play continuously
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)