| Author |
FileReader creates a file ?
|
Sweta Pillai
Greenhorn
Joined: Jun 27, 2007
Posts: 28
|
|
I came across the following sentences in K&B in Chapter 6, �Create a Reader or a Writer or a Stream. Specifically, create a FileReader, a FileWriter, a PrintWriter, a FileInputStream, or a FileOutputStream. Whenever you create an instance of one of these classes, you automatically create a file.� I doubt any *Reader or *InputStream creates a file because the API says they throw FileNotFoundException if there is no file. Sweta
|
 |
nitin pokhriyal
Ranch Hand
Joined: May 19, 2005
Posts: 263
|
|
just visit this discussion.. it is errata ]http://www.coderanch.com/t/257589/java-programmer-SCJP/certification/SCJP-Errata-Updated] ]http://www.coderanch.com/t/257589/java-programmer-SCJP/certification/SCJP-Errata-Updated [ July 01, 2007: Message edited by: nitin pokhriyal ]
|
 |
Sweta Pillai
Greenhorn
Joined: Jun 27, 2007
Posts: 28
|
|
The links says: No such topic number exists. � Please use your browser's back button to return. No props, if it's an error.
|
 |
nitin pokhriyal
Ranch Hand
Joined: May 19, 2005
Posts: 263
|
|
|
now try it..
|
 |
Sweta Pillai
Greenhorn
Joined: Jun 27, 2007
Posts: 28
|
|
ok i got it, it's actually the following link http://www.coderanch.com/t/257589/java-programmer-SCJP/certification/SCJP-Errata-Updated
|
 |
Burkhard Hassel
Ranch Hand
Joined: Aug 25, 2006
Posts: 1274
|
|
one erratum (singular) two errata (plural) ...
|
 |
 |
|
|
subject: FileReader creates a file ?
|
|
|