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 / raghu

When Class.forNmae("className") is executed, the class will
be loaded, as soon as the class is loaded the static block
will be executed.In the static block the thngs will happen.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is singletonlist in java?

973


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1114


What is a dynamic array java?

956


What are decalarations?

1132


What is dot operator?

1040


What are synchronized blocks in java?

1189


What is the main functionality of the remote reference layer?

2002


What is bytecode in java ?

1198


how we can make a write-only class in java?

1037


How much is a java license?

936


Difference between current previous versions of Java?

1031


Can an object be null?

974


What is the purpose of interface?

1008


Can size_t be negative?

1186


What is the technique adopted to create an immutable class?

1117