From c009693a07276f8d66cd68637431f0a3f0e9ef15 Mon Sep 17 00:00:00 2001 From: Julian T Date: Tue, 8 Sep 2020 13:43:21 +0200 Subject: Added more java assignments --- sem5/oop/m1/src/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sem5/oop/m1') 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()); -- cgit v1.2.3