This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forward reference,very confused rules

 
Shiva Mohan
Ranch Hand
Posts: 484
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://radio.javaranch.com/corey/2004/05/13/1084483439000.html

I don�t able to get the below three rules.Can anyone please explain each one as coding.

The declaration of a member needs to appear before it is used only if the member is an instance (respectively static) field of a class or interface C and all of the following conditions hold:

�The usage occurs in an instance (respectively static) variable initializer of C or in an instance (respectively static) initializer of C.
�The usage is not on the left hand side of an assignment.
�C is the innermost class or interface enclosing the usage.
 
wise owen
Ranch Hand
Posts: 2023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the forward reference rules?
There is an example to match rules.
 
Shiva Mohan
Ranch Hand
Posts: 484
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much wise.This is what exactly i want.I have read that excellent explanation and got it easily.
Thanks again.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic