Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Jodon Brown   on Sep 23 In Java Category.

  
Question Answered By: Freya Brown   on Sep 23

File f = new File("c:\\test\\test.txt");
PrintWriter t = new PrintWriter (new FileWriter(f));

That is using the Java 1.1 io library. Just changr test.txt to
c:\\test\\text.txt

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Java File Or get search suggestion and latest updates.


Tagged: