SCJP2. Please Indent your code using UBB Code
My Linked In
Cheers, <img src="smile.gif" border="0"> <br /><a href="http://www7.brinkster.com/manoj9/" target="_blank" rel="nofollow">Manoj</a><br />(<a href="http://www7.brinkster.com/manoj9/" target="_blank" rel="nofollow">http://www7.brinkster.com/manoj9/</a>)
It's almost as if during the time the compiler is taking to go to the method giveMeJ() that j is somehow initialized to 0 OR it's as if the compiler is going in the giveMeJ() method, "Hey, I need the value of j but it hasn't been set yet so give me the default value of an int which is 0." If the later is the case how come it can't do that in the 'illegal forward reference' code I posted? What am I missing here.
I should be seeing "Trying to initialize i" followed by "b4 calling method" right ???
SCJP2. Please Indent your code using UBB Code