Question: Intro to Java Programming. Please make sure to make java code simple and clean, also add comments, so that I can understand the process. Also,
Intro to Java Programming. Please make sure to make java code simple and clean, also add comments, so that I can understand the process.
Also, I provided photos from the textbook to assist with the first portion.
1. Write the class Tests. It will be saved as Tests.java. Make sure to have the following in this class:
a) Constructor for first name, last name, five tests scores (an array), average tests score and grade.
b) Method to calculate the average
c) Method to calculate the letter grade
d) Set and Get methods for the names, and tests
e) Get Grade method
f) Get Average method
g) toString method
2. Next create another .java file to test the class.
a. Use the data file I provided:
Jack Johnson 85 83 77 91 76 Lisa Aniston 80 90 95 93 48 Andy Cooper 78 81 11 90 73 Ravi Gupta 92 83 30 69 87 Bonny Blair 23 45 96 38 59 Danny Clark 60 85 45 39 67 Samantha Kennedy 77 31 52 74 83 Robin Bronson 93 94 89 77 97 Sheila Sunny 79 85 28 93 82 Kiran Smith 85 72 49 75 63
b. Output to the screen not an output file.
c. Take a screenshot of your output.
d. Your book shows how the output should look


13. a. Write the definition of the class Tests such that an object of this class can store a student's first name, last name, five test scores, average tests score, and grade. (Use an array to store the test scores.) Add constructors and methods to manipulate data stored in an object. Among other things, your class must contain methods to calculate test averages, return test averages, calculate grades, return grades, and modify individual test scores. The method toString must return test data (including student's name, five test scores, average, and grade) as a string. Write a program to calculate students' average test scores and the grade. You may assume the following input data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
