Question: JAVA PROGRAMMING The Problem: In this problem we will exercise java object and classes. Create a class called 'StudentGrades' and put that as StudentGrades.java It
JAVA PROGRAMMING



The Problem: In this problem we will exercise java object and classes. Create a class called 'StudentGrades' and put that as StudentGrades.java It has the following variables: a) a private class variable called 'studentCounter (int) and it is initialized to zero. b) a private instance variable called 'studentName' (string) c) a private instance variable called 'scores' [array of double]. d) a private instance variable called coursesLetterGrade' [2D array of string]. This 2D array has 1. scores.length number of rows and 2 columns. First column stores course name and second column stores letter grade for that course. However, you do not have to specify the size of the array at this moment. It should be done in the constructor described next. It has a public static method 'getletterGrade()' that takes a double type score and return the corresponding letter grade based on the following grading scale: A: 90-100, B: 80-89.99, C: 70-79.99, D: 60-69.99, F:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
