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
Q43: Some browsers do not directly support the
Q44: Given the following code, how many times
Q45: The browser creates an instance of the
Q46: The delay parameter in the Timer constructor
Q47: An applet does not have to be
Q49: HTML describes the content and layout of
Q50: The following getAudioClip() method returns an object
Q51: The delay parameter in the Timer constructor
Q52: The play method will load and play
Q53: If you want to make sure that
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents