Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How to avoid memory leak in java?

0 Answers  


Can a static class have a constructor?

0 Answers  


how does the run() method in runnable work? : Java thread

0 Answers  


using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.

4 Answers  


Do we need to manually write Copy Constructor?

0 Answers   HCL,


What is the difference between serializable and externalizable interfaces?

0 Answers  


Is age discrete or continuous?

0 Answers  


Can we create more than one object singleton class?

0 Answers  


What are streams in java 8?

0 Answers  


how can we use the servlet as standalone apllication?should we need to extend any class?

2 Answers   Logica CMG,


What is difference between compatible and incompatible changes in serialization?

1 Answers   Synechron,


What is meant by Servelet? What are the parameters of service method?

2 Answers  


Categories