IO error..Newbie

this code is from the java tutorial

i am a newbie in java and i wants to know error how do i format the file directory?

how to put the xanadu.txt in a correct form?

import java.io.FileInputStream;

import java.io.FileOutputStream;

import java.io.IOException;

publicclass CopyBytes{

publicstaticvoid main(String[] args)throws IOException{

FileInputStream in =null;

FileOutputStream out =null;

try{

in =new FileInputStream("xanadu.txt");

out =new FileOutputStream("outagain.txt");

int c;

while ((c = in.read()) != -1){

out.write(c);

}

}finally{

if (in !=null){

in.close();

}

if (out !=null){

out.close();

}

}

}

}

[1907 byte] By [w32sysfiea] at [2007-11-27 3:34:49]
# 1
My mind reading tin foil hat and my crystal ball are both in the shop for repairs, so you'll have to tell me what "i wants to know error how do i format the file directory" means and what "a correct form" means to you.
Herko_ter_Horsta at 2007-7-12 8:37:58 > top of Java-index,Java Essentials,Java Programming...