forked from angiejones/java-programming
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTestResults.java
More file actions
41 lines (35 loc) · 1.02 KB
/
Copy pathTestResults.java
File metadata and controls
41 lines (35 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package exercises.chapter12;
import java.util.HashMap;
import java.util.Map;
public class TestResults {
public static Map getOriginalGrades(){
Map grades = new HashMap();
grades.put("Angie", 24);
grades.put("Dave", 32);
grades.put("Lisi", 80);
grades.put("Raja", 50);
grades.put("Shashi", 79);
grades.put("Bas", 40);
grades.put("Carlos", 59);
grades.put("Amber", 55);
grades.put("Rex", 95);
grades.put("Jason", 63);
grades.put("Nikolay", 32);
return grades;
}
public static Map getMakeUpGrades(){
Map grades = new HashMap();
grades.put("Angie", 97);
grades.put("Dave", 82);
grades.put("Lisi", 76);
grades.put("Raja", 89);
grades.put("Shashi", 79);
grades.put("Bas", 98);
grades.put("Carlos", 80);
grades.put("Amber", 95);
grades.put("Rex", 90);
grades.put("Jason", 62);
grades.put("Nikolay", 79);
return grades;
}
}