| Author |
Create .txt file
|
Nick George
Ranch Hand
Joined: Nov 17, 2003
Posts: 38
|
|
Right, so i can both read and write to text pre-existing text files, and i was wondering if it is possible to create new text files. Thanks, Nick
|
 |
Ko Ko Naing
Ranch Hand
Joined: Jun 08, 2002
Posts: 3178
|
|
Of course, if u create a new File object, then if ur specified file is not in the directory, then it is created as u specify in the parameter of the constructor... It's very simple to create a new file in Java...
|
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
|
 |
Manoj Zachariah
Ranch Hand
Joined: Dec 08, 2003
Posts: 65
|
|
this program readers a file and writes it into another file. i hope this answers you question!
|
 |
 |
|
|
subject: Create .txt file
|
|
|