If we have a question like this one :
Which constructor for FileOutputStream is correct
a. bla bla bla
b. FileOutputStream(File f, boolean append)
c. bla bla bla
d ....
In JDK 1.3 we have only this :
FileOutputStream(
String name, boolean append)
Creates an output file stream to write to the file with the specified name.
In JDK 1.4 we also have :
FileOutputStream(File file, boolean append)
Creates a file output stream to write to the file represented by the specified File object.
Should i choose b or not ? (in my opinion not - maybe the
test engine from Sun is not updated to keep count of new API changes so I'll stick to the old API)
What would you choose ?
Best Regards