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

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!