From ef7d53509ca8b7f476abaf4fea35836f0de8c4c3 Mon Sep 17 00:00:00 2001 From: Tobias Herbert Date: Wed, 7 Feb 2024 09:43:26 +0100 Subject: [PATCH] Implemented registerUser Feature in Main class so the Method cann be called --- src/main/java/org/example/Main.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/example/Main.java b/src/main/java/org/example/Main.java index abbf297..3ba5d3a 100644 --- a/src/main/java/org/example/Main.java +++ b/src/main/java/org/example/Main.java @@ -4,6 +4,7 @@ import java.util.Scanner; public class Main { public static void main(String[] args) {System.out.println("Hello world!"); + Administration administration = new Administration(); Scanner scanner = new Scanner(System.in); boolean exit = false; @@ -23,6 +24,7 @@ public class Main { switch (choice) { case 1: System.out.println("Register User selected"); + administration.registerUser(); break; case 2: System.out.println("Enter Student ID and Course Code to enroll:");