herpderp programming in Java help
Anyone good with programming in teh javaz? I need to print a return value.
System.out.println(dafaq do I put here?);
I initially thought just a variable like "result" would do, which I used in another method, or should I have declared "result" as a global variable?
February 20, 2012
1 Comment • Newest first
If 'result' isn't declared in the scope you're working in, then declare it there. No need to make it global. If it is, just write result in between the parantheses.