diff options
author | Julian T <julian@jtle.dk> | 2020-09-08 13:43:21 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-09-08 13:43:21 +0200 |
commit | c009693a07276f8d66cd68637431f0a3f0e9ef15 (patch) | |
tree | fc9bc85620813e7a179b043203d25879932267f6 /sem5/oop/m1/src/Main.java | |
parent | ba5f68924664b081aab1abb62c68e2fb70bdff0b (diff) |
Added more java assignments
Diffstat (limited to 'sem5/oop/m1/src/Main.java')
-rw-r--r-- | sem5/oop/m1/src/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sem5/oop/m1/src/Main.java b/sem5/oop/m1/src/Main.java index b7c1f42..3906cc6 100644 --- a/sem5/oop/m1/src/Main.java +++ b/sem5/oop/m1/src/Main.java @@ -4,7 +4,7 @@ public class Main { Student std = new Student("Julian", (short)21, "Male", (long)123213213, "COMTEK"); Uniperson hej = std; - hej.addGrade(0.32); + hej.addGrade(7); hej.addGrade(12); System.out.printf("deg: %s, sem: %d, avg: %f\n", hej.getDeg(), hej.getSem(), hej.getGPA()); |