Question: Need help with these . Write a test script named StudentTest java that creates an instance of Student and gives each data member values using

Need help with these  Need help with these . Write a test script named StudentTest

. Write a test script named StudentTest java that creates an instance of Student and gives each data member values using mutator methods 8. Create a class named Course with the following data members and visibilities: name: String ex: Calculus subject: String /ex: MATH number: int ex: 1161 -credits: int/ex:4 Create constructors for your Course class. Create a no-arg default constructor and at least one convenience constructor. 9. 10. Create accessor (get) and mutator (set) methods for each data member 11. Modify StudentTest java so that it creates an instance of Course and fills in data member values for each of that course using mutator methods 12. Think about the relationships that exist in the real world for these two types of objects What are some ways they can be related? Think of at least two natural relationships involving a Student and a Course. 13. What are some ways we could implement these relationships in code using what we know about classes and objects

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!