Thompson Rivers University
Applicant Class
Assignment 4 Collections - SM 2025This class represents one job applicant for a typing position. Each applicant has a name and a typing speed. We also want to be able to compare applicants so we can sort them later by speed.
Variables
We start with two private instance variables:
private String name;
private int typingSpeed;namestores the applicant’s nametypingSpeedstores how fast they type in words per minute
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.