|
3 | 3 | import java.util.ArrayList;
|
4 | 4 |
|
5 | 5 | public class JobReadinessLab {
|
6 |
| - private final int mentorSession; |
7 |
| - private final String teacherAssistant, socialSupport, jobTutor; |
8 |
| - private boolean isSuccessful; |
9 |
| - ArrayList<String> students; |
10 |
| - private final level readinessLevel; |
| 6 | +// private final int mentorSession; |
| 7 | +// private final String teacherAssistant, socialSupport, jobTutor; |
| 8 | +// private boolean isSuccessful; |
| 9 | +// ArrayList<String> students; |
| 10 | +// private final level readinessLevel; |
11 | 11 |
|
12 |
| - enum level { |
13 |
| - BEGINNER , |
14 |
| - INTERMEDIATE , |
15 |
| - ADVANCED |
16 |
| - } |
| 12 | +// enum level { |
| 13 | +// BEGINNER , |
| 14 | +// INTERMEDIATE , |
| 15 | +// ADVANCED |
| 16 | +// } |
17 | 17 |
|
18 |
| - public JobReadinessLab(String teacherAssistant, int mentorSession){ |
19 |
| - this.mentorSession = mentorSession; |
20 |
| - this.teacherAssistant = teacherAssistant; |
21 |
| - socialSupport = "Estelle"; |
22 |
| - jobTutor = "Anthony"; |
23 |
| - students = new ArrayList<>(); |
24 |
| - readinessLevel = level.BEGINNER; |
25 |
| - } |
| 18 | +// public JobReadinessLab(String teacherAssistant, int mentorSession){ |
| 19 | +// this.mentorSession = mentorSession; |
| 20 | +// this.teacherAssistant = teacherAssistant; |
| 21 | +// socialSupport = "Estelle"; |
| 22 | +// jobTutor = "Anthony"; |
| 23 | +// students = new ArrayList<>(); |
| 24 | +// readinessLevel = level.BEGINNER; |
| 25 | +// } |
26 | 26 |
|
27 |
| - public String checkReadiness() { |
28 |
| - return (readinessLevel == level.INTERMEDIATE) ? "Ready for job applications!" : "Needs more training."; |
29 |
| - } |
| 27 | +// public String checkReadiness() { |
| 28 | +// return (readinessLevel == level.INTERMEDIATE) ? "Ready for job applications!" : "Needs more training."; |
| 29 | +// } |
30 | 30 |
|
31 |
| - public Boolean verifyIsSuccessful() { |
32 |
| - if (isSuccessful){ |
33 |
| - System.out.println("Congraulations! You made it through your journey!"); |
34 |
| - } else { |
35 |
| - System.out.println("At least you got to know what software engineering is like!"); |
36 |
| - } |
37 |
| - return isSuccessful; |
38 |
| - } |
| 31 | +// public Boolean verifyIsSuccessful() { |
| 32 | +// if (isSuccessful){ |
| 33 | +// System.out.println("Congraulations! You made it through your journey!"); |
| 34 | +// } else { |
| 35 | +// System.out.println("At least you got to know what software engineering is like!"); |
| 36 | +// } |
| 37 | +// return isSuccessful; |
| 38 | +// } |
39 | 39 |
|
40 |
| - public int countStudents() { |
41 |
| - int count = students.size(); |
42 |
| - System.out.println("Total students enrolles: " + count); |
43 |
| - return count; |
44 |
| - } |
| 40 | +// public int countStudents() { |
| 41 | +// int count = students.size(); |
| 42 | +// System.out.println("Total students enrolles: " + count); |
| 43 | +// return count; |
| 44 | +// } |
45 | 45 |
|
46 |
| - public void addStudent(String studentName){ |
47 |
| - students.add(studentName); |
48 |
| - try { |
49 |
| - throw new StudentLimitExceededException("The classroom is full"); |
50 |
| - } |
51 |
| - } |
| 46 | +// public void addStudent(String studentName){ |
| 47 | +// students.add(studentName); |
| 48 | +// } |
52 | 49 |
|
53 |
| - public void printStudents() { |
54 |
| - for (String student : students) { |
55 |
| - System.out.println(student); |
56 |
| - } |
57 |
| - } |
| 50 | +// public void printStudents() { |
| 51 | +// for (String student : students) { |
| 52 | +// System.out.println(student); |
| 53 | +// } |
| 54 | +// } |
58 | 55 |
|
59 |
| - public int getMentorSession () { |
60 |
| - return mentorSession; |
61 |
| - } |
| 56 | +// public int getMentorSession () { |
| 57 | +// return mentorSession; |
| 58 | +// } |
62 | 59 |
|
63 |
| - public String getTeacherAssistant() { |
64 |
| - return teacherAssistant; |
65 |
| - } |
| 60 | +// public String getTeacherAssistant() { |
| 61 | +// return teacherAssistant; |
| 62 | +// } |
66 | 63 |
|
67 |
| - public String getSocialSupport() { |
68 |
| - return socialSupport; |
69 |
| - } |
| 64 | +// public String getSocialSupport() { |
| 65 | +// return socialSupport; |
| 66 | +// } |
70 | 67 |
|
71 |
| - public String getJobTutor() { |
72 |
| - return jobTutor; |
73 |
| - } |
| 68 | +// public String getJobTutor() { |
| 69 | +// return jobTutor; |
| 70 | +// } |
74 | 71 | }
|
75 | 72 |
|
0 commit comments