What is the difference between getCodeBase and
getDocumentBase methods?
Answer Posted / pradyut
URL getCodeBase()
Gets the base URL.
URL getDocumentBase()
Gets the URL of the document in which the applet is
embedded.
Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
Explain about interrupt() method of thread class ?
What is a boolean field?
How do you compare objects in java?
Describe method overriding
what is the difference between preemptive scheduling and time slicing? : Java thread
What is thread synchronization in java?
Can a static block throw exception?
What is a functional interface?
How does callback work in java?
Why enumeration is faster than iterator?
How many bytes is a url?
Garbage collection in java?
How a string is stored in memory?
Can this keyword be used to refer static members?
What is a predicate method?