Question: #1) Given a class called Student and a class called Course that contains an ArrayList of Student. Write a method called findHighestStudent() as described below.

#1) Given a class called Student and a class called Course that contains an ArrayList of Student. Write a method called findHighestStudent() as described below. Refer to Student.java below to learn what methods are available.#1) Given a class called Student and a class called Course that

class is and top is (import java.text.*;)contains an ArrayList of Student. Write a method called findHighestStudent() as described

#2) Given a class called Student and a class called Course that contains an ArrayList of Student. Write a method called getDeansList()as described below. Refer to Student.java below to learn what methods are available.

below. Refer to Student.java below to learn what methods are available. classTest class is

is and top is (import java.text.*;) #2) Given a class called Studentand a class called Course that contains an ArrayList of Student. Write#3)Given a class called Student and a class called Course that contains an ArrayList of Student. Write a method called dropStudent() as described below. Refer to Student.java below to learn what methods are available.

a method called getDeansList()as described below. Refer to Student.java below to learnwhat methods are available. Test class is #3)Given a class called StudentTest class: and a class called Course that contains an ArrayList of Student. Writea method called dropStudent() as described below. Refer to Student.java below to

Current file: Course.java Load default template... 1 import java.util.*; 2 import java.io.*; 4A list of students in a course 6 public class Coursef 7 *collection of Students * private ArrayList roster; 10 12 Constructor for objects of class Course 14 public Course roster new ArrayList(); = 16 17 19 @return Student with highest GPA public Student findHighestStudent)f /**Your code goes here */ 21 23 24 25 27 Add a student to the course public void addStudent(Student s) 29 30 31 32 roster.add(s); 34 Main method for testing 36 public static void main String args 37 38 39 40 41 42 43 Course cis162 - new CourseO cis162.addStudent(new Student("Henry", "Cabot", 3.2)); cis162.addStudent(new Student("Brenda", "Stern", 4.0)); cis162.addStudent(new Student("Lynda", "Robison", 3.2)); cis162.addStudent(new Student("Jane", "Flynn", 3.9); Student stud - cis162.findHighestStudentO

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!