How do I create a beep sound? - JAVA Interview Questions

How do I create a beep sound?



import java.awt.*;

public class BeepExample {
public static void main(String[] args) {
// This is the way we can send a beep audio out.
Toolkit.getDefaultToolkit().beep();
}
}



Click Here to See Answer .....
Did you like this article ?
Subscribe to my RSS feed and get more JAVA Question, and Guideline, Plus a lot more great advice to help your Software Career.

0 comments:

Related JAVA Questions Posts