Question: please help will like in java Students make the Dear's ist if their GPA is 3.5 or higher. Complete the Course class by implementing the






Students make the Dear's ist if their GPA is 3.5 or higher. Complete the Course class by implementing the getDeansList0 method, which returns an ArrayList of students with a GPA of 3.5 or higher. Given classes: - Class LabProgram contains the main method for testing the program. - Class Course represents a course, which contains an ArrayList of Student objects as a course roster. (Type your code in here) - Class Student represents a classroom student, which has three fields first name, last name, and GPA. (Hint, getGPAO returns a student's GPA.) Note: For testing purposes, different student values will be used Ex. For the following students: lienzy Nguyen 3.5 Brenda stern 2.0 Lynda Robison 3.2 Sonya King 3.9 the output is: Dean's 11st: Benry Nguyen (GPA: 3,5 ) Sonya King (GPA: 3.9 ) Hile is marked as read only Current file; LabProgram.java * Current file: Course.java - Load de File is marked as read only Current file: Student.java = import java.text. DecimalFormat; I/ Class representing a student public class Student \{ private String first; // first name private String last; // last name private double gpa; I/ grade point average. II Student class constructor public Student(String first, String last, double gpa) \{ this, first = first; // first name this. last = last; // last name this.gpa = gpa; // grade point average \}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
