Question: Assignment 2 1 . Create 3 classes using the following UML diagrams: 2 . For each file, create an additional test file that tests the

Assignment 2
1. Create 3 classes using the following UML diagrams:
2. For each file, create an additional test file that tests the methods in your class.
3. Create a folder named with your student number.
4. Add all 6 files in the folder.
5. Zip the folder.
6. Submit to eFundi.
7. NB! Marks will be deducted for WET(Write Everything Twice) code.
a. ALWAYS use setters when mutating instance variables
b. ALWAYS use getters when retrieving instance variables
c. Use this where appropriate.
Rubric
Requirement Mark
Name and Student Number commented at the top of each file.
Files correctly named.
Folder zipped and submitted 4
Student
Access modifiers 1
Different Constructor Signatures 2
Mutators 4
Accessors 4
toString 1
Test file 2
Faculty
Access modifiers 1
Different Constructor Signatures 2
Mutators 5
Accessors 5
toString 1
Test file 2
Staff
Access modifiers 1
Different Constructor Signatures 2
Mutators 5
Accessors 5
toString 1
Test file 2
Total 50

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!