Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 2 3 4 For this last project, you must implement a Java class which simulates a Student object. Student objects created from this class
1
2
3
4
For this last project, you must implement a Java class which "simulates" a Student object. Student objects created from this class will represent grade records for students in a CMPSCI 111 lecture class. The UML class diagram below gives you an "outline" for the class: Student name: String sid: String -homework : doublell quizzes doublell -exams : doublel -NUM HOMEWORK: int "NUMQUIZZES : int NUM _EXAMS : int HOMEWORK_MAX POINTS : double QUIZ_MAX POINTS : double - MIDTERM_MAX_POINTS: double FINAL MAX POINTS: double +Student) +Student(newName: String) +Student(newName : String, newsid : String) +setName(newName : String): void +getName) : String +setsid(newSid: String) +getSid): String +setHomework(homeworkNumber : int, score : double): void +getHomework(homeworkNumber: int): double +setQuiz(quizNumber: int, score: double): void +getQuiz(quizNumber: int): double +setMidtermExam(score : double): void +getMidtermExam() : double +setFinalExam(score : double) : void +getFinalExam() : double +toString):String The Java class definition that you write must implement all of the data fields (variables) and behaviors (methods) shown in the above UML class diagram. Therefore, the class you write must contain all of the following global variables, constants and methods
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started