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 messaging services are done, before release of JMS?

2224


What is table mutation and how do you avoid it?

2519


What is prototype?

1257


Explain the advantages and disadvantages of detached objects.

1076


cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..

2271


How to deploy Jar, War files in J2EE?

2732


What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

1097


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1207


Is jvm a overhead?

1162


What is the purpose of the notify() method?

1134


What are the different methods of identifying an object?

1127


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

1169


Why are some of the class and element names counter-intuitive?

1218


Why are component architectures useful?

1119


What is Remote Server?

2253