班级投票系统
This commit is contained in:
16
src/chapter3/demo34/Main.java
Normal file
16
src/chapter3/demo34/Main.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package chapter3.demo34;
|
||||
|
||||
/**
|
||||
* Main类,程序的入口点
|
||||
*/
|
||||
public class Main {
|
||||
/**
|
||||
* 主方法
|
||||
* @param args 命令行参数
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
// 创建VotingSystem对象并开始投票
|
||||
VotingSystem votingSystem = new VotingSystem();
|
||||
votingSystem.startVoting();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user