问题
How can I read File 1 and File2 from the below diagram into class objects and write all the instances of the class into a new File containing all the attributes of both File 1 and File 2? I am taking all attributes as an instance of student class as shown below. How to read both file 1 and file2 into one file either as file 3, file 4, or file 5. which format is more feasible to store those attribute, ArrayList or hashmap, and how
来源:https://stackoverflow.com/questions/64858171/how-to-read-two-text-file-into-a-class-object-and-write-them-to-one-text-file