Write Java Application Called Studentapplication Following Specifications 1 Application On Q43859155
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<Student> 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] Show transcribed image text 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]
Expert Answer
Answer to Write a Java application called StudentApplication with the following specifications: 1. The application has one data fi…
OR