Question: Design a java class named Student that contains the following: Variables. To store a name To store a student number a . To store the

Design a java class named Student that contains the following:
Variables.
To store a name
To store a student number
a. To store the amount of credits (multiples of 3)
To store a GPA
To store a list of course names
2 more variables of your choice
Constructor:
Accepts essential data about the student.
Methods:
A method to add a course to a student's schedule
A method to remove a course from a student's schedule
Getters and setters (for data that might need to change)
1 other method using your additional variables from above
Create a test class that tests your constructor and all methods.
 Design a java class named Student that contains the following: Variables.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!