hi all
I'm very very new to java programming. As the matter of fact, this is the first programming class I've ever taken. I'm not asking for an assignment help for I am trying to read ahead and practice as i go along. This is the test program that I'm writing but for some reason it always get the
"cannot resolve symbol error at File f = new File("Try.txt""
all i'm trying to do is just to output the message into the file Try.txt
can someone tell me what i'm doing wrong? thank you. once again, i'm really really new, so please don't flame me.
/**/
class Test
{
public static void main(String[] args)
{
File f = new File("Try.txt"
FileOutputStream ff = new OutputStream(f);
PrintStream p = new PrintStream(ff);
p.println("bla"
p.println("blabla"
p.println("blabla"
}
}
I'm very very new to java programming. As the matter of fact, this is the first programming class I've ever taken. I'm not asking for an assignment help for I am trying to read ahead and practice as i go along. This is the test program that I'm writing but for some reason it always get the
"cannot resolve symbol error at File f = new File("Try.txt""
all i'm trying to do is just to output the message into the file Try.txt
can someone tell me what i'm doing wrong? thank you. once again, i'm really really new, so please don't flame me.
/**/
class Test
{
public static void main(String[] args)
{
File f = new File("Try.txt"
FileOutputStream ff = new OutputStream(f);
PrintStream p = new PrintStream(ff);
p.println("bla"
p.println("blabla"
p.println("blabla"
}
}