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


Please Help Members By Posting Answers For Below Questions

Write a function for palindrome and factorial and explain?

855


How to create an interface?

825


What is executor memory?

720


Is 0 a real number?

784


What is a jagged array in java?

783


can I implement my own start() method? : Java thread

745


How do you do descending order in java?

751


Why is the type for real numbers called double?

730


What are exception handling keywords in java?

809


How much ram can a 64 bit processor theoretically?

671


What is a class instance variable?

842


Can we override static methods in java?

814


What is dynamic array in java?

745


What is a loop java?

800


What is the difference between abstract classes and interfaces?

788