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

The output should be something like this : The StuList class is here https://app

ID: 644983 • Letter: T

Question

The output should be something like this :

The StuList class is here https://app.box.com/s/ln58a5n9tjqr8q5mqpw8n5tvrqr6bqey

NOTE: Write another class named Students that contains the followings behaviors:
?   Constructor
?   setName(String)
?   setCreditHours(int)
?   setGradePoint (double)
?   double computeGPA //use the formula gradepoint/credithours
?   Boolean isSenior //senior student if credithours > 125 and GPA >= 2.0

BlueJ: Terminal window . Array Options How many data to enteri 3 Enter name: aizal Enter Enter eapa auraya Enter Enter eapa sza Enter egpa 2.5 Name -aizal in Sem 4 with Capa- 4.0 Name-auraya in Sem 2 with Capa-3-2 Name-liza in Se1 with Capa-1.5 The be, t , tudent i Name . aizal in sem with Cgpa -4.0

Explanation / Answer

// Code of the Student class

public class Student{

String name;
int credithour;
double gradepoint;
double GPA;


Student(){

}

public void setName(String name){
   this.name = name;

}
public void setCreditHours(int credithour){
   this.credithour = credithour;
}

public void setGradePoint(double gradepoint){
   GPA = gradepoint/credithour;
}

public boolean isSenior(){
   if(credithour>125 && GPA >= 2.0)
       return true;
   else
       return false;

}
}

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