Attached files to downloadCourse.javaRoster.javaStudent.javaTestRoster.javaProblem: RostersThis assignment. involves a program made up of several Java classes:Your task is to finish Roster.java by replacing each line marked “// replace this line with your code” with code that makes the method do what its comment says it does. There are 5 such lines.An object of class Course represents a course, e.g. 198:111. A course has a department number and a course number.An object of class Student represents a student. A student has a personal (first) name and a family (last) name.An object of class Roster represents a particular section of a course. A roster has an array of students, an int numStudents, that says how many students there are in the section, an int stopPoint that gives the maximum number of students that may be in the section, and a course that says which course this roster is a section of. Note that the students are not in any particular order in the array, but they will be in the first numStudents elements of the array.The class TestRoster that has a main method that can be used for testing Roster. There will never be an object that is an instance of this class.Some rules to followYou may not change Course.java or Student.java. (You will not be handing these in, anyway.)You may put any code you want in TestRoster.java to test your code. (You will not hand this is, either.)You must replace each of the lines in Roster.java marked “replace this line”. (Replace them with as many lines of code as you want.)You may add methods to Roster.java as long as they are private.You may not make any other changes to Roster.java.Handing inUpload and submit only the file Roster.java as the answer to this assignment. Be sure to upload the version with your code, not the version you downloaded.
/** To change this license header, choose License Headers in Project Properties.* To change this template file, choose Tools | Templates* and open the template in the editor.*//**** @author…
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more