Browse Source

refactoring: removed redundancies from Menu in Main class

remotes/origin/fdai7887
fdai7887 11 months ago
parent
commit
bf2260f2b7
  1. 8
      src/main/java/org/example/Main.java

8
src/main/java/org/example/Main.java

@ -72,15 +72,9 @@ public class Main {
// View Grades from Student // View Grades from Student
break; break;
case 11: case 11:
// View User
break;
case 12:
// Delete User // Delete User
break; break;
case 13:
// View Course List
break;
case 14:
case 12:
// Exit (includes saving data in the files) // Exit (includes saving data in the files)
exit = true; exit = true;
System.out.println("Exiting..."); System.out.println("Exiting...");

Loading…
Cancel
Save