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

How would you create a button with rounded edges?

1246


What is the difference between the string and stringbuffer classes?

1163


What are the different algorithms used for clustering?

1131


What are the different class loaders used by jvm?

1153


Why doesn’t the focus feature on the tag work in every circumstance?

1175


What is the difference between the session.get() method and the session.load() method?

1126


What is abstract schema?

1082


How is a java object message delivered to a non-java client?

1101


Do I need to import javlang package any time? Why ?

1154


Explain about local interfaces.

1121


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

1173


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

2208


What is a clone?

1126


Why use a datasource when you can directly specify a connection details?

1085


How task's priority is used in scheduling?

2344