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 the public class modifier?
Which is faster string or stringbuilder?
What is reflexive association?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
What is the use of math abs in java?
Can we use a switch statement with strings?
What is comparable and comparator interface? List their differences
Explain the use of sublass in a java program?
What is functional interface in java?
what is function overloading in java?
What are the benefits of operations in java?
Does string isempty check for null?
what is singleton in java?
Can we extend private class in java?
What is the common usage of serialization?