Question: Implement 2 Java classes: Student: firstName, lastName, departmentIn, yearGraduation, an array of UAClass this student is taking, an array of integers corresponding to the grades
Implement 2 Java classes:
Student: firstName, lastName, departmentIn, yearGraduation, an array of UAClass this student is taking, an array of integers corresponding to the grades received for these classes
UAClass: 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 Students main() method, initiate one Student object and print out her GPA.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
