Array and counter in the same file

0

I have a class that creates student objects, with name and note, and I have another class in which I create an array with a maximum of 100 students, and a menu where I can enter, delete, search, order students, if I I would like to save the data of my program (the array and the counter of the occupied positions) which would be the best way (?) to do an objectOutputStream and save the array in a file and then the counter in another different file, or there is some form of save counter and array in the same file and be able to import it. Thanks.

I want to save the underline

    
asked by Adrian Rodríguez 08.06.2018 в 16:07
source

0 answers