Question: Write a Java application called StudentApplication with the following specifications: 1. The application has one data file (studentInfo.txt) and at least the following two source-

 Write a Java application called StudentApplication with the following specifications: 1.

Write a Java application called StudentApplication with the following specifications: 1. The application has one data file (studentInfo.txt) and at least the following two source- code files: StudentApp.java (containing the main method) and Student.java 2. The studentInfo.txt file has just these three lines of data, without leading or trailing blank lines, formatted the following way: last name, first name, gpa 1. Hunter, Artemis, 2.7 2. Flowers, Flora, 3.3 3. Fields, Heather, 3.1 3. The main method in StudentApp.java contains only these three lines of code, exactly as written: 1. String fileName= "studentInfo.txt"; 2. List studentList = addStudentsToList(fileName); 3. System.out.println(studentList); 4. When the program is run, the output in the NetBeans console is should look exactly as follows, all on one line but without leading or trailing blank lines: 1. [lastName = Hunter; firstName = Artemis; gpa = 2.7, lastName = Flowers; firstName = Flora; gpa = 3.3, lastName = Fields; firstName = Heather; gpa = 3.1]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!