File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Illegal forward reference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Illegal forward reference" Watch "Illegal forward reference" New topic
Author

Illegal forward reference

Shardul Kumar
Greenhorn

Joined: May 24, 2009
Posts: 12


Whats exactly happens here? Why am I getting an error while printing the value of x in the static block?
prem pillai
Ranch Hand

Joined: Nov 02, 2007
Posts: 87

http://radio.javaranch.com/corey/2004/05/13/1084483439000.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Illegal forward reference
 
Similar Threads
Explain the output
Static Block
Initialization
Instance blocks.
question regarding initialzer.