Answer to Question #333774 in Java | JSP | JSF for sandyJay

Question #333774

Writing a program that will determine the best Second year student.

Write the class definition for a Student class that contains four private data members: 

-An int studNum to store the student number.

-A string studFirstName to store the student’s first name.

-A string studSurname to store the student’s surname.

-A one dimensional array subjectCode of type string that hold the five subjects that the student is registered for.

-A parallel array to the subject code array called finalMark that holds the final mark that the student obtained for the subject stored in the subject code array.

-A double overallAverage that will hold the overall average that the student has obtained

The class has the following methods:

-A default constructor that sets the data members to appropriate default values for all data members, including the arrays.

-A setStudent method that receives parameters for the student number and name, as well as an array of type string and an array of type double for the subjects code and final mark respectively.


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS