Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package specialproject2;
- import java.util.Arrays;
- import java.util.Comparator;
- // Class to represent a job
- public class Job
- {
- int starttime, finishtime, profit;
- public Job(int starttime, int finishtime, int profit) {
- this.starttime = starttime;
- this.finishtime = finishtime;
- this.profit = profit;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment