⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 学生系统.txt

📁 考试系统 实现在线考试中的各项操作的源代码
💻 TXT
字号:
1 登陆模块:
普通登陆:用户名(唯一),密码









0.0<(int)(Math.random()*100)<100
a+b   :a=90    b=(100-a)
a-b   :
a*b   :
a/b   :
(2)提交方式:
类Timer:用于控制时间:每隔多长时间执行一次某个任务。
Timer time=new Timer(延迟时间,时间处理);
start();
stop();
每隔一秒钟显示
class Test implements ActionListener
{
	private JLalel lbl;

	public void actionPerformed(ActionEvent e)
	{
		int value=Integer.parseInt(lbl.getText());//返回String
		value++;
		lbl.setText(value+"");
	}

	public Test()
	{}

	public void initGUI()
	{
		lbl=new JLabel("0");
		timer=new Timer(1000,this);
	}
}
(3)集合:ArrayList/HashSet来管理题目,
class Question
{
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -