diff --git a/Main.java b/Main.java new file mode 100644 index 0000000..b98647d --- /dev/null +++ b/Main.java @@ -0,0 +1,12 @@ +// 主入口类 +public class Main { + public static void main(String[] args) { + // 创建MVC组件 + StudentModel model = new StudentModel(); + StudentView view = new StudentView(); + StudentController controller = new StudentController(model, view); + + // 启动系统 + controller.start(); + } +} \ No newline at end of file