Question: 3. Create a program that implements a Student class with the properties: XNumber, name, GPA, major. Use this class to create 1) an array of
3. Create a program that implements a Student class with the properties: XNumber, name, GPA, major. Use this class to create 1) an array of 5 students and 2) an array list of 5 students. Write two methods to calculate the average GPA using an array and array list as argument. Your program (main) should have calls to the method double averegeGPAarray(Student[] array) and double averageGPAlist(ArrayList list)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
