Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

1

image text in transcribed

2

image text in transcribed

3

image text in transcribed

4

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago