public class Student {
private String name;
private String address;
private String phone;
private String major;
String[] classesTaken = new String[100];
double[] gradesRecived = new double[100];
public void addClassesTaken (String classID) {}
public void addGradeReived(float classGrade){}
public void changeGradesRecieved(String classID, double newGrade){}
public double computeGPA( ) { }
}
I need to randomly fill the gradesReceived array with random values between 0 and 100. I need instant variables private. I need to Populate the class taken whth an empty string. they can both be within the same loop