What is the difference between getCodeBase and
getDocumentBase methods?
Answer / 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 |
What are the advantages of java inner classes?
Why string is immutable or final in java
What about instanceof operator in java?
worst case complexities of Quick sort and Merge sort.
Can we use different return types for methods when overridden?
Is call by reference possible in java?
What does localhost mean?
What is private public protected in java?
why java main method is given as static method?
What is encapsulation? Elaborate with example?
What is methodological framework?
How many types of interfaces are there?