aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Forward reference,very confused rules Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Forward reference,very confused rules" Watch "Forward reference,very confused rules" New topic
Author

Forward reference,very confused rules

Shiva Mohan
Ranch Hand

Joined: Jan 05, 2006
Posts: 477
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

Joined: Feb 02, 2006
Posts: 2023
What are the forward reference rules?
There is an example to match rules.
Shiva Mohan
Ranch Hand

Joined: Jan 05, 2006
Posts: 477
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
 
subject: Forward reference,very confused rules