File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

static initialiser blocks

 
Soni Prasad
Ranch Hand
Posts: 97
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am I right that the variables defined in static initializer blocks are local to it and can not be used outside the block? If it is so then What is the need of these blocks?
Can any body tell me about some detailed online document on static initializers.

soni.
 
S.L.Narayanan
Ranch Hand
Posts: 431
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Soni

The following is a good article on static initializers.

Static Initializer
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic