Question
//JAVA PROGRAMMING project// Create a program that helps manage student information. The program will keep track of 2 different students. It will use several concepts
//JAVA PROGRAMMING project//
Create a program that helps manage student information. The program will keep track of 2 different students. It will use several concepts you have learned so far. It will read input files and output a different file that contains a combination of the two input files.
Program specs:
Use JOptionPane for user input.
Have a separate Student class that should contain information about the student.
Ask user for the filename to input. There are 2 files attached to the assignment. It will need to ask 1 time for each file.
The data in student1.txt should be read into the first student instance.
The data in student2.txt should be read into the second student instance.
The file in the data looks like this:
[Student Number]
[Student Name]
[Major]
[GPA]
Ask user for output filename. The output file should be in this format:
[Student Number],[Student Name],[Major],[GPA]
There should be 1 output line in the file for each student.
When finished, the program needs to inform the user that the process is complete.
--------------------------------------------
Below are the images of the contents of the files for the student information. Files are named "student1.txt" and "student2.txt"
-------------------------------------------
12345 Alvin Arnold Computer Information Systems 3.50 studentl.txtStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started