Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Beginning Java and the fly likes FileWriter constructor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "FileWriter constructor" Watch "FileWriter constructor" New topic

FileWriter constructor

Dan Silva
Ranch Hand

Joined: Sep 05, 2007
Posts: 86
What happen when you send construct a FileWriter with just a String? Thanks.
marc weber

Joined: Aug 31, 2004
Posts: 11343

It allows you to write to a file by the name you provide. Try it!

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
I agree. Here's the link:
subject: FileWriter constructor
Similar Threads
reading from inputstreams and writing ....
Need help writing a text file
Creating files
code to write the command line arguments into a file
howto continue write file