in a course, a teacher gives the following tests and assignments: • a lab activity that is observed by the teacher and assigned a numeric score. • a pass/fail exam that has 10 questions. the minimum passing score is 70. • an essay that is assigned a numeric score. • a final exam that has 50 questions. write a class named coursegrades. the class should have a gradedactivity array named grades as a field. the array should have four elements, one for each of the assignments previously described. the class should have the following methods: