Matt Hanrahan wrote:... a static method's argument variable can "take" or "access" a non-static variable. Did I say that right? Thanks.
So in this case inside the method the print statement gets "x" from the argument and the argument gets "x" from the member?
Jitendra
SCJP1.5
SCWCD1.5
Jitendra
SCJP1.5
SCWCD1.5
Still a beginner at crafting quality coding but have the zeal to learn more. Your help would be appreciated.
My Blog on Learning Analytics
Daniel Sung wrote:Can someone please show me how I can test these out? I'm having trouble doing it with Eclipse right now.. Thanks
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |