Hi!
This question is from
java caps:
13. Low Level Streams read input as bytes and writes as bytes, then select the correct declarations of Streams.
[a] FileInputStream FIS = new FileInputStream("test.txt")
[b] File file = new File("test.txt"); FileInputStream FIS = new FileInputStream(file)
[c] File file = new File("c:\\"); File file1 = new File(file,"test.txt"); FileOutStream FOS = new FileOutputStream(file1);
[d] FileInputStream FIS = new FileInputStream("c:\\","test.txt")
The answer is a,b,c,d but I think that is only a,b. In case c, what means FileOutStream??? and case d, I believe that FileInputStream don�t have a constructor FileInputStream(
String, String)
Thank you ind advance.