Question: Design a java class named Student that contains the following: Variables: To store a name To store a student number To store the amount of
Design a java class named Student that contains the following:
Variables:
To store a name
To store a student number
To store the amount of credits multiples of
To store a GPA
To store a list of course names
more variables of your choice
Constructor:
Accepts essential data about the student.
Methods:
A method to add a course to a students schedule
A method to remove a course from a students schedule
Getters and setters for data that might need to change
other method using your additional variables from above
Create a test class that tests your constructor and all methods
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
