• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Illegal forward reference

 
Shardul Kumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Whats exactly happens here? Why am I getting an error while printing the value of x in the static block?
 
prem pillai
Ranch Hand
Posts: 87
Java Opera
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic