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

Can I map more than one table in a cmp?

1033


Can I use multiple html form elements with the same name?

1002


Difference between loadclass and class.forname?

995


What is message driven beam?

1004


What is the difference between the session.update() method and the session.lock() method?

968


What are transaction attributes?

1049


What if the static modifier is removed from the signature of the main method?

1185


What is the argument type of a programs main() method?

1067


what is a portable component?

1935


what are getters and setters in Java with examples?

1735


How to determine SGA site?

2478


what is the use of State Factories?

2330


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

1123


Can I use javascript to submit a form?

1101


What is the difference between system.out ,system.err and system.in?

1054