In the Following Code,what Does GetDocumentBase()return? Play(getDocumentBase(),"mysound.wav");
Multiple Choice
In the following code,what does getDocumentBase() return? play(getDocumentBase() ,"mysound.wav") ;
A) A URL object containing the location of the applet's .class file
B) A URL object containing the location of the HTML file that invoked the applet
C) The HTML location "mysound.wav"
D) The sound file itself
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Applets are important because the can be
Q6: Which of the following is not a
Q10: If a frame component is 300 pixels
Q11: Which of the following will load the
Q23: Which tag will produce largest text?<br>A) <h4>Hello</h4><br>B)
Q27: The delay parameter in the Timer constructor
Q30: The play method will load and play
Q36: When you extend an interface, you must
Q42: Given the following code, how many times
Q50: An applet using a Swing GUI extends