panaewboi

MYSP.Job

May 13th, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. package specialproject2;
  2.  
  3. import java.util.Arrays;
  4. import java.util.Comparator;
  5.  
  6. // Class to represent a job
  7. public class Job
  8. {
  9. int starttime, finishtime, profit;
  10.  
  11. public Job(int starttime, int finishtime, int profit) {
  12. this.starttime = starttime;
  13. this.finishtime = finishtime;
  14. this.profit = profit;
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment