-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
27 lines (26 loc) · 999 Bytes
/
Main.java
File metadata and controls
27 lines (26 loc) · 999 Bytes
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
import Controllers.RequirementsManager;
import Controllers.TeacherManager;
import Boundary.CommandLineInterface;
/**
* Entry point for the Teacher‑Requirement Management System.
* <p>
* This class initialises the necessary controllers and launches
* the command‑line interface, allowing the user to interact with
* the system via a menu‑driven console.
*/
public class Main {
/**
* The main method – starting point of the application.
* <p>
* It creates instances of the requirements manager and teacher manager
* then constructs and starts the command‑line interface.
*
* @param args command‑line arguments (not used)
*/
public static void main(String[] args) {
RequirementsManager requirementsManager = new RequirementsManager();
TeacherManager teacherManager = TeacherManager.getInstance();
CommandLineInterface cli = new CommandLineInterface(requirementsManager, teacherManager);
cli.start();
}
}