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?

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

Explain the public class modifier?

994


Which is faster string or stringbuilder?

987


What is reflexive association?

1871


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

1100


What is the use of math abs in java?

1063


Can we use a switch statement with strings?

1104


What is comparable and comparator interface? List their differences

1147


Explain the use of sublass in a java program?

1075


What is functional interface in java?

1091


what is function overloading in java?

1352


What are the benefits of operations in java?

1128


Does string isempty check for null?

1082


what is singleton in java?

1103


Can we extend private class in java?

1022


What is the common usage of serialization?

1218