Also, when I tried implementing what you said, this came up : "cannot find symbol", refering to the s variable on the write method and both on the writes.
Type: Posts; User: holythunder
Also, when I tried implementing what you said, this came up : "cannot find symbol", refering to the s variable on the write method and both on the writes.
I don't really understand the "//here is how your handle the exception"...
These are my methods :
public static void write(String s) throws IOException
{
String defaultLogFile...
Hey everybody,
I need some help with my code. I have made a class with two methods, both with the intent to create a log file and write in it. Now, I want to call both those methods on another...