Originally Posted by udayadas
|
The easier way could have been;
Declare your PrintWriter output as a global variable.In that case output can be shared by both the methods.
|
Might you feel like giving an example of how to do that? I guess I was dissuaded from doing that since my "Java in a Nutshell" book said that Java does not have global variables.
What would be the syntax for that?
thanks,
Pat