Solved

In the Following Code,what Does GetDocumentBase()return? Play(getDocumentBase(),"mysound.wav");

Question 2

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:

verifed

Verified

Related Questions