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
Q26: If an applet attempts to violate one
Q27: The delay parameter in the Timer constructor
Q28: _ is the language that Web pages
Q29: Look at the following applet code. 1
Q30: The play method will load and play
Q32: Whenever you need a component of any
Q33: When the applet viewer opens an HTML
Q34: Look at the following applet code:<br>1 import
Q35: Given the following code, how many times
Q36: When you extend an interface, you must