Thompson Rivers University
ApplicantTest Driver Class
Assignment 4 Collections - SM 2025This driver program runs the entire selection workflow. It:
Builds the initial applicant list
Displays each applicant and classifies them into “bad” or “good” groups
Prints those who did not meet the typing requirement
Prints those who did meet it, collecting them for sorting
Removes and displays the last qualifier
Sorts the remaining candidates in descending order and prints them
All data is stored in Group<Applicant>, and we use removeFromGroup() to process entries.
Class Header & Imports
We need ArrayList for collecting qualifiers and Collections for sorting.
Members only
Keep reading this lesson
You've reached the end of the free preview. Unlock the rest of this lesson plus 54 more lessons in Thompson Rivers University.
- Unlimited coding questions
- Unlimited access to all classroom material
- Weekly live call for questions and guidance
- 3,000 AI tutor tokens / month
- Personal SQL database (3 MB)
- Progress tracking
Cancel any time.