[Solved] Edit record employee on text file using Vectors in Java [closed]


Vector is just a data structure. It cannot be used to read/write employee records from/into files. It can, however, be used to keep employee records in memory.

To implement the functionality that you need, you need to:

  1. Think on how the employee records are represented in file. Is it in CSV? XML? JSON?

  2. Once you decide the representation, you need to write two methods. One that reads the file, and returns employee records in a Vector. Two that accepts employee records, and write them into file.

  3. Write the main program that operates on this Vector.

solved Edit record employee on text file using Vectors in Java [closed]