if you want to append new data to the end of file, you can open the file in append mode new FileWriter("myfile.txt", true) docs.oracle.com/javase/8/docs/api/index.html?java/io/FileWriter.html but in this case in the video, we are trying to update/edit a file, the changes are done in the array and it is written over the previous data, so no need of appending
thank you! this works for me!
tysm, been hours searching for this thing and finally found it
thanks bro you saved my life
Thanks man!!!!Your code really helped me a lot.....
Thankk you soo much whole day i find the tutorial bruhhh😭😭
¡Thank you very much! ¡Greetings from Costa rica! :D
It worked! Thanks!
holy crap, this is exactly what I need. thank you so much!
can the array store 2 types of data like String and Integer?
i got 2 types of data but I want update them in tgt in the txt file
hello there could u pls help me with that. i want to load and see the txt file and then i want to edit it. could u pls help me with that
I have a question.
Why did it override the data in text file? Isn't println() suppossed to write below the original?
if you want to append new data to the end of file, you can open the file in append mode
new FileWriter("myfile.txt", true)
docs.oracle.com/javase/8/docs/api/index.html?java/io/FileWriter.html
but in this case in the video, we are trying to update/edit a file, the changes are done in the array and it is written over the previous data, so no need of appending
Mushfau Saeed Thank you very much
tnks soooo much
please : Have problem >>>in java netbeans 8.2 is not found Scanner ?
how can i fix?
try importing the package
import java.util.Scanner;
bro what if my data is like a line
ID01
Name
Password
how can delete or edit this 3
are you graduated from Asia Pacific University?
ManChun Tan yup
you can find me in fb easily...you can msg
@@mushfau can i private message to you? i didn't find you on fb
@@Elisven-zt4yz can email me mushfau@gmail.com