Candibiotic
News Update :

English Premier League

Bundesliga

La Liga

Showing posts with label Initialization Blocks. Show all posts
Showing posts with label Initialization Blocks. Show all posts

Initialization Blocks

Friday, August 21, 2009

Static initialization blocks run once, when the class is first loaded.
Instance initialization blocks run every time a new instance is created. They run after all super-constructors and before the constructor's code has run.
If multiple init blocks exist in a class, they follow the rules stated above, AND they run in the order in which they appear in the source file

Football News

 

© Copyright Vinayak Wins 2010 -2011 | Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.