What is the difference between getCodeBase and
getDocumentBase methods?



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

Post New Answer

More Core Java Interview Questions

What is increment in java?

0 Answers  


What is a pointer and does java support pointers?

0 Answers  


Is java based on c?

0 Answers  


What are Normalization Rules? Define Normalization?

0 Answers  


Explain the difference between the public, private, final, protected, and default modifiers?

0 Answers  






What are the 4 types of characters?

0 Answers  


What are the important methods of java exception class?

0 Answers  


Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.

0 Answers   V2 Solutions,


Is 0 true or false in java?

0 Answers  


How do you read a char in java?

0 Answers  


What is string data type?

0 Answers  


What is the difference between a synchronized method and a synchronized block?

0 Answers  


Categories