Advanced I/O (input/output) using Java

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

@toxton1 - The trick is to read a file into your program and store the values in an array. It might be a two-dimensional array if the data has rows and columns (like an Excel spreadsheet). Then, inside your program make the changes in the array itself. When you want the program to save the data then you would write the array to the disk file using the i/o routines, overwriting the existing file.

peterMankato
Автор

how do you modify a value of the file once written

JesusAntonioRodriguezRamirez
Автор

How do you create or columns on an output file (e.g a .txt file)?

xolani_delman
Автор

I know this is totally off topic but I was wondering if you have a video talking about deep copy using for instance the clone method thanks.

promal
Автор

You can embed \t (TAB character) in your string. It is tricky though because if one line is too long it will make the next column move over more to the right and not be in line with the other lines above and below.

peterMankato
Автор

Nope, sorry I don't cover that in my courses.

peterMankato
welcome to shbcf.ru