aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Forward reference Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Forward reference" Watch "Forward reference" New topic
Author

Forward reference

Sanyev Babu
Ranch Hand

Joined: Dec 18, 2003
Posts: 132
Can anyone explain to me why this code produces the output 0



Where as this code produces a forward reference compilation error.



Thanks
Sanyev
Anuradha Shanmugam
Greenhorn

Joined: May 09, 2004
Posts: 8
Hi Sanyev,

Please refer @ http://www.coderanch.com/t/236387/java-programmer-SCJP/certification/forward-referencing


Anuradha<br />(SCJP 1.4)
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Or check this out.


SCJP Tipline, etc.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Forward reference
 
Similar Threads
forward refrerences
please explain why the compiler is not complaining and why the output is 0
Forward Referencing
Variable initialization
please explain me the output of the following programs