Re-arrange the code for writing into a text file.
(1) place code here = new FileWriter("out.txt");
(2) place code here out = new (3) place code here
Select the sequence of code from the given sentences for proper execution of above code.
(X) FileWriter fstream
(A) 1-X, 2-Y, 3-Z
(B) 1-X, 2-Z , 3-Y
(C) 1-Z, 2-X, 3-Y
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.