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 use of Class.forName

Answer Posted / n.sriram

class.forName() is used to load the class at runTime. when
we could not decide which class to load.The Method just
loads the class into memory and when required we can
instantiated the class using Class.forName.newInstance()

Is This Answer Correct ?    15 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the immediate superclass of the applet class?

1066


Are enterprise beans allowed to use thread.sleep()?

1141


What event results from the clicking of a button?

1231


For which statements does it make sense to use a label?

1061


What are the diff types of exception?

1040


What is the relation between the infobus and rmi?

986


What is bean? Where can it be used?

1133


What is ioc concept & explain it?

1073


Can I have an action without a form?

1090


How to implement RMI in Java?

2862


When a thread blocks on i/o, what state does it enter?

1081


wahts is mean by dynavalidatorform in struts/

2054


What is permgen or permanent generation?

1010


How will you pass parameters in RMI? Why do you serialize?

1221


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1522