subject

Modify the student class presented as follows. each student object should also contain the scores for three tests. provide a constructor that sets all instance values based on parameter values. overload the constructor such that each test score is assumed to be initially zero. provide a method called settestscore that accepts two parameters: the test number (1 through 3) and the score. also provide a method called gettestscore that accepts the test number and returns the appropriate score. provide a method called average that computes and returns the average test score for this student. modify the tostring method such that the test scores and average are included in the description of the student. create a class with main method to exercise the new student methods. public class student { private string firstname, lastname; private address homeaddress, schooladdress; // // sets up this student object with the specified initial values. // public student (string first, string last, address home, address school) { firstname

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
Which of the following has not been attributed at least in part to social media a. drug addiction b. depression c. kidnapping d. murder
Answers: 2
question
Computers and Technology, 22.06.2019 16:10
When copying and pasting text, the first step is move your cursor type the text select the copy command select the paste command
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
How can the temperature of a room be raised by 5degreesf?
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
If you add the following to the query grid in an access query, what is it called? salestaxamt: [salestaxrate]*[totalsale] formula calculated field total calculation
Answers: 2
You know the right answer?
Modify the student class presented as follows. each student object should also contain the scores fo...
Questions
question
Mathematics, 05.11.2019 05:31
question
Chemistry, 05.11.2019 05:31
Questions on the website: 13722362