CJCoding With Joseph
15free / daySign inCreate account

Thompson Rivers University

ApplicantTest Driver Class

Assignment 4 Collections - SM 2025

This driver program runs the entire selection workflow. It:

  1. Builds the initial applicant list

  2. Displays each applicant and classifies them into “bad” or “good” groups

  3. Prints those who did not meet the typing requirement

  4. Prints those who did meet it, collecting them for sorting

  5. Removes and displays the last qualifier

  6. 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.