Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In Java, - Student: firstName, lastName, departmentIn, yearGraduation, an array

ID: 3937597 • Letter: I

Question

In Java, - Student: firstName, lastName, departmentIn, yearGraduation, an array of Class this student is taking, an array of integers corresponding to the grades received for these classes - Class: teacherFirstName, teacherLastName, semesterOffered, numCredits The list above provides data members of these two classes. You can design and implement the set of methods that would make sense. In the Student class, implement a method that calculates GPA. In the Student’s main() method, initiate one Student object and print out her GPA.

Explanation / Answer

Please find the required program along with its output. Please see the comments against each line to understand the step.

-------------------------------------------

OUTPUT:

GPA = 8.466666666666667

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote