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 a static block?

Answer Posted / srinivasa

Static block is executed when the class is loaded into the
memory before the main(). Only once it will be executed.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When will we prefer to use set and list in java and why?

1016


What is ++ a in java?

1030


How transient variable is different from volatile variable?

1131


What methodology can be employed to locate substrings inside a string?

998


What are advantages of using Java?s layout managers than windowing systems?

2425


What is the difference between replace and replace all?

1068


What is get () in java?

1108


describe synchronization in respect to multithreading? : Java thread

972


How can I debug the Java security exceptions and AccessControlExceptions?

1198


What is the advantage of preparedstatement over statement?

1164


Can you give names of Container classes?

2352


How do you define a method?

1038


What is difference between string and stringbuffer?

1189


What is array list in java?

1124


What is reflexive association?

1871