资源简介

最最最最最原始的学生管理系统 采用文件存储数据 控制台显示 1、综合运用自己所学的Java面向对象程序设计知识,设计一学生成绩管理系统。要求如下: (1)学生的信息包括:学号、姓名、班级、多门课程的成绩等。(20分) (2)系统功能包括:输入、删除、修改、查询学生成绩等。(50分) (3)编码符合规范。(30分)

资源截图

代码片段和文件信息

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class Menu {
public int main() throws IOException
{
int choice=0;
//do{
System.out.println(“*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*“);
System.out.println(“*                  欢.迎.使.用.学.生.管.理.系.统                                                  *“);
System.out.println(“*.*.*.*.*.*.*.*.*.*..*.*.*.*.*.*.*.*.*.*..*.*.*.*.*.*.*.*.*“);
System.out.println(“*                       请选择登录账号类型                                                                  *“);
System.out.println(“*                          1.学生                                                                               *“);
System.out.println(“*                          2.老师                                                                               *“);
System.out.println(“*                                                         *“);
System.out.println(“*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*“);
choice = Read();
//}
// while(choice<1||choice>2);
return choice;
}
public void Login()
{

System.out.println(“*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*“);
System.out.println(“*                  欢.迎.使.用.学.生.管.理.系.统                                                  *“);
System.out.println(“*.*.*.*.*.*.*.*.*.*..*.*.*.*.*.*.*.*.*.*..*.*.*.*.*.*.*.*.*“);
System.out.println(“*                       账号:_________                     *“);
System.out.println(“*                       密码:_________                     *“);
System.out.println(“*                                                         *“);
System.out.println(“*                                                         *“);
System.out.println(“*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*“);


}
public int teacherMain() throws IOException
{
int choice = 0;

System.out.println(“*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*“);
System.out.println(“*                  欢.迎.使.用.学.生.管.理.系.统                                                  *“);
System.out.println(“*.*.*.*.*.*.*.*.*.*..*.*.*.*.*.*.*.*.*.*..*.*.*.*.*.*.*.*.*“);
System.out.println(“*                       1.添加学生信息                                                                        *“);
System.out.println(“*                       2.输入学生成绩                                                                        *“);
System.out.println(“*                       3.修改学生成绩                                                                        *“);
System.out.println(“*---------------------------------------------------------*“);
System.out.println(“*                       4.删除学生成绩                                                                        *“);
System.out.println(“*                       5.删除学生信息                                                             

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        301  2013-06-13 12:51  StudentManagerSystem_by nadam\.classpath

     文件        389  2013-06-20 10:09  StudentManagerSystem_by nadam\.fatjar

     文件        405  2013-06-13 12:51  StudentManagerSystem_by nadam\.project

     文件        598  2013-06-13 12:51  StudentManagerSystem_by nadam\.settings\org.eclipse.jdt.core.prefs

     文件       4913  2013-07-12 20:43  StudentManagerSystem_by nadam\bin\Menu.class

     文件       2976  2013-07-12 20:43  StudentManagerSystem_by nadam\bin\Student.class

     文件      10411  2013-07-12 20:43  StudentManagerSystem_by nadam\bin\StudentOperate.class

     文件       2167  2013-07-12 20:43  StudentManagerSystem_by nadam\bin\Test.class

     文件        310  2013-06-19 21:21  StudentManagerSystem_by nadam\data\StuInfo - 副本.dat

     文件        233  2013-06-28 15:31  StudentManagerSystem_by nadam\data\StuInfo.dat

     文件        311  2013-06-20 09:56  StudentManagerSystem_by nadam\data\StuInfo.dat.bak

     文件         21  2013-06-18 23:50  StudentManagerSystem_by nadam\data\stuPwd.dat

     文件         13  2013-06-18 23:34  StudentManagerSystem_by nadam\data\stuPwd.dat.bak

     文件         19  2013-06-18 23:53  StudentManagerSystem_by nadam\data\teacherPwd.dat

     文件         10  2013-06-18 22:51  StudentManagerSystem_by nadam\data\teacherPwd.dat.bak

     文件       4675  2013-06-19 21:09  StudentManagerSystem_by nadam\src\Menu.class

     文件       6508  2013-06-19 21:26  StudentManagerSystem_by nadam\src\Menu.java

     文件       2252  2013-06-19 21:09  StudentManagerSystem_by nadam\src\Student.class

     文件       2208  2013-06-19 13:28  StudentManagerSystem_by nadam\src\Student.java

     文件       9042  2013-06-19 21:09  StudentManagerSystem_by nadam\src\StudentOperate.class

     文件      14672  2013-06-28 15:29  StudentManagerSystem_by nadam\src\StudentOperate.java

     文件       1935  2013-06-19 21:07  StudentManagerSystem_by nadam\src\Test.class

     文件       2856  2013-06-19 10:09  StudentManagerSystem_by nadam\src\Test.java

     目录          0  2013-07-03 19:38  StudentManagerSystem_by nadam\.settings

     目录          0  2013-07-12 20:43  StudentManagerSystem_by nadam\bin

     目录          0  2013-07-03 19:38  StudentManagerSystem_by nadam\data

     目录          0  2013-07-03 19:38  StudentManagerSystem_by nadam\src

     目录          0  2013-07-03 19:38  StudentManagerSystem_by nadam

----------- ---------  ---------- -----  ----

                67225                    28

............此处省略1个文件信息

评论

共有 条评论