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...

when we write class.forName("any one class"); what happens
actually?what it will return?explain stepwise?

Answer Posted / ram

Class.forName () takes the class name as parameter, and
loads that class in memory. But it doesn't create any
instance of that class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bifunction in java?

1167


What is difference between iterator and enumeration in java?

974


What is the exact difference in between Unicast and Multicast object? Where will it be used?

1038


What is a marker interface?

1137


What is the purpose of the finalize() method?

1231


If an object is garbage collected, can it become reachable again?

984


Explain different ways of creating a thread. Which one would you prefer and why?

1018


Can a class be private?

946


What is a method declaration?

972


Tell me how many ways are there to initialise an integer with a constant.

1092


Explain with example the concept of constant variable in java.

1151


Explain working of call by reference function invoking.

1009


What is meant by object?

993


Can we override the static methods?

1018


How do you sort words in java?

910