File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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