java控制台学生信息管理系统,用java实现学生管理系统
目录
前言介绍创建学生类学生主页方法实现令人厌恶的东西查询方法添加方法删除方法修改方法控制台打印
前言介绍
最近很多同学找我帮忙做一些课程设计或网前端大作业、其中控制台项目应该是初学者必须经历的一个过程、作为爪哇岛初学者这个控制台版本的学生信息管理系统十分合适、用到的技术也是最简单的JavaList集合、变量的声明、对象的创建、一些基本的正在…语句、开关语句、循环遍历等基础语法。一个最基础版本的控制台学生管理系统也就是令人厌恶的东西功能、 直接上完整代码
创建学生类Student
公共课学生{私有字符串id;私有字符串名称;私有字符串银私有字符串地址;公共字符串getId(){返回id;} public void setId(String id){ this。id=id} public String getName(){ return name;} public void set name(String name){ this。name=名称;}公共字符串getArg(){ return arg;} public void setArg(String arg){ this。arg=arg}公共字符串getAddress() {返回地址;} public void setAddress(字符串地址){ this.address=address}
main方法实现CRUD
包com。铁路。模块。基地。测试;导入Java。util。ArrayList导入Java。util。扫描仪;public class test student { public static void main(String[]args){ ArrayList student array=new ArrayList student();while(true){ system。出去。println(-学生管理系统- );System.out.println( - 1 .查询学生信息- );System.out.println( - 2 .添加学生信息- );System.out.println( - 3 .删除学生信息- );System.out.println( - 4 .修改学生信息- );System.out.println( - 5 .输入你的选择- );扫描仪输入=新扫描仪(系统。在);int a=输入。nextint();开关{案件1: findAllStudent(数组);打破;案例2:添加学生(数组);打破;案例3:删除学生(数组);打破;案例4:更新学生(数组);打破;案例5:默认:系统。出去。println(谢谢你的使用);
System.exit(0); break; } } } }
查询方法
public static void findAllStudent(ArrayList<Student> array) { // TODO Auto-generated method stub if (array.size() == 0) { System.out.println("对不起,没有学生信息"); System.out.println("请重新选择"); return; } System.out.println("学号t姓名t年龄t居住地"); for (int x = 0; x < array.size(); x++) { Student s = array.get(x); System.out.println(s.getId() + "t" + s.getName() + "t" + s.getArg() + "t" + s.getAddress()); } }
添加方法
public static void addStudent(ArrayList<Student> array) { Scanner input = new Scanner(System.in); String id; while(true){ System.out.println("请输入你的学号"); id = input.nextLine(); // 判断ID是否重复; boolean flag = false; // 遍历集合信息 for (int x = 0; x < array.size(); x++) { Student st = array.get(x); // 取得该学生id与数组中id进行对比 if (st.getId().equals(id)) { flag = true; break; } } if (flag) { System.out.println("对不起,学号被占用"); }else{ break; } } System.out.println("请输入你的姓名"); String name = input.nextLine(); System.out.println("请输入你的年龄"); String arg = input.nextLine(); System.out.println("请输入你的地址"); String address = input.nextLine(); Student s = new Student(); s.setId(id); s.setName(name); s.setArg(arg); s.setAddress(address); array.add(s); System.out.println("添加成功"); }
删除方法
public static void deleteStudent(ArrayList array) { System.out.println("请输入你想删除学生的学号"); Scanner input = new Scanner(System.in); String id = input.nextLine(); int index = -1; for (int i = 0; i < array.size(); i++) { Student s = (Student) array.get(i); if (s.getId().equals(id)) { index = i; } } }
修改方法
public static void updateStudent(ArrayList<Student> array) { // TODO Auto-generated method stub Scanner input = new Scanner(System.in); System.out.println("请输入你要修改的学号"); String id = input.nextLine(); int index = -1; //变量集合 for (int i = 0; i < array.size(); i++) { //获取所有学生对象 Student s = array.get(i); if (s.getId().equals(id)) { index = i; break; } } if (index == -1) { System.out.println("不好意思,你要修改的学生信息不存在"); } else { System.out.println("请输入学生姓名"); String name = input.nextLine(); System.out.println("请输入学生年龄"); String arg = input.nextLine(); System.out.println("请输入学生地址"); String address = input.nextLine(); //创建学生对象 Student s = new Student(); s.setId(id); s.setId(name); s.setArg(arg); s.setAddress(address); //修改集合中的学生对象 array.set(index, s); System.out.println("修改学生成功"); } }
控制台打印
"C:Program FilesJavajdk1.8.0_51binjava" -Didea.launcher.port=7534 "-Didea.launcher.bin.path=D:Program Files (x86)JetBrainsIntelliJ IDEA 2016.3.6bin" -Dfile.encoding=UTF-8 -classpath "C:Program FilesJavajdk1.8.0_51jrelibcharsets.jar;C:Program FilesJavajdk1.8.0_51jrelibdeploy.jar;C:Program FilesJavajdk1.8.0_51jrelibextaccess-bridge-64.jar;C:Program FilesJavajdk1.8.0_51jrelibextcldrdata.jar;C:Program FilesJavajdk1.8.0_51jrelibextdnsns.jar;C:Program FilesJavajdk1.8.0_51jrelibextjaccess.jar;C:Program FilesJavajdk1.8.0_51jrelibextjfxrt.jar;C:Program FilesJavajdk1.8.0_51jrelibextlocaledata.jar;C:Program FilesJavajdk1.8.0_51jrelibextnashorn.jar;C:Program FilesJavajdk1.8.0_51jrelibextsunec.jar;C:Program FilesJavajdk1.8.0_51jrelibextsunjce_provider.jar;C:Program FilesJavajdk1.8.0_51jrelibextsunmscapi.jar;C:Program FilesJavajdk1.8.0_51jrelibextsunpkcs11.jar;C:Program FilesJavajdk1.8.0_51jrelibextzipfs.jar;C:Program FilesJavajdk1.8.0_51jrelibjavaws.jar;C:Program FilesJavajdk1.8.0_51jrelibjce.jar;C:Program FilesJavajdk1.8.0_51jrelibjfr.jar;C:Program FilesJavajdk1.8.0_51jrelibjfxswt.jar;C:Program FilesJavajdk1.8.0_51jrelibjsse.jar;C:Program FilesJavajdk1.8.0_51jrelibmanagement-agent.jar;C:Program FilesJavajdk1.8.0_51jrelibplugin.jar;C:Program FilesJavajdk1.8.0_51jrelibresources.jar;C:Program FilesJavajdk1.8.0_51jrelibrt.jar;C:UsersAdministratorDesktopProject to reconstructrailway-admintargetclasses;C:UsersAdministratorDesktopProject to reconstructrailway-admin;C:UsersAdministrator.m2repositorycnsmallbunscrewscrew-core1.0.5screw-core-1.0.5.jar;C:UsersAdministrator.m2repositorycommons-loggingcommons-logging1.2commons-logging-1.2.jar;C:UsersAdministrator.m2repositoryorgfreemarkerfreemarker2.3.29freemarker-2.3.29.jar;C:UsersAdministrator.m2repositoryorgslf4jslf4j-api1.7.30slf4j-api-1.7.30.jar;C:UsersAdministrator.m2repositorychqoslogbacklogback-classic1.2.3logback-classic-1.2.3.jar;C:UsersAdministrator.m2repositorychqoslogbacklogback-core1.2.3logback-core-1.2.3.jar;C:UsersAdministrator.m2repositoryorgbouncycastlebcprov-jdk161.46bcprov-jdk16-1.46.jar;C:UsersAdministrator.m2repositoryorgapachepoipoi3.9poi-3.9.jar;C:UsersAdministrator.m2repositoryorgapachepoipoi-ooxml3.17poi-ooxml-3.17.jar;C:UsersAdministrator.m2repositoryorgapachepoipoi-ooxml-schemas3.17poi-ooxml-schemas-3.17.jar;C:UsersAdministrator.m2repositoryorgapachexmlbeansxmlbeans2.6.0xmlbeans-2.6.0.jar;C:UsersAdministrator.m2repositorystaxstax-api1.0.1stax-api-1.0.1.jar;C:UsersAdministrator.m2repositorycomgithubvirtualdcurvesapi1.04curvesapi-1.04.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter2.2.4.RELEASEspring-boot-starter-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot2.2.4.RELEASEspring-boot-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-logging2.2.4.RELEASEspring-boot-starter-logging-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgapachelogginglog4jlog4j-to-slf4j2.12.1log4j-to-slf4j-2.12.1.jar;C:UsersAdministrator.m2repositoryorgapachelogginglog4jlog4j-api2.12.1log4j-api-2.12.1.jar;C:UsersAdministrator.m2repositoryorgslf4jjul-to-slf4j1.7.30jul-to-slf4j-1.7.30.jar;C:UsersAdministrator.m2repositoryjakartaannotationjakarta.annotation-api1.3.5jakarta.annotation-api-1.3.5.jar;C:UsersAdministrator.m2repositoryorgyamlsnakeyaml1.25snakeyaml-1.25.jar;C:UsersAdministrator.m2repositoryorghamcresthamcrest2.1hamcrest-2.1.jar;C:UsersAdministrator.m2repositorynetbytebuddybyte-buddy1.10.6byte-buddy-1.10.6.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-core5.2.3.RELEASEspring-core-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-jcl5.2.3.RELEASEspring-jcl-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-web2.2.4.RELEASEspring-boot-starter-web-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-json2.2.4.RELEASEspring-boot-starter-json-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositorycomfasterxmljacksondatatypejackson-datatype-jdk82.10.2jackson-datatype-jdk8-2.10.2.jar;C:UsersAdministrator.m2repositorycomfasterxmljacksondatatypejackson-datatype-jsr3102.10.2jackson-datatype-jsr310-2.10.2.jar;C:UsersAdministrator.m2repositorycomfasterxmljacksonmodulejackson-module-parameter-names2.10.2jackson-module-parameter-names-2.10.2.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-tomcat2.2.4.RELEASEspring-boot-starter-tomcat-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgapachetomcatembedtomcat-embed-core9.0.30tomcat-embed-core-9.0.30.jar;C:UsersAdministrator.m2repositoryorgapachetomcatembedtomcat-embed-el9.0.30tomcat-embed-el-9.0.30.jar;C:UsersAdministrator.m2repositoryorgapachetomcatembedtomcat-embed-websocket9.0.30tomcat-embed-websocket-9.0.30.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-validation2.2.4.RELEASEspring-boot-starter-validation-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryjakartavalidationjakarta.validation-api2.0.2jakarta.validation-api-2.0.2.jar;C:UsersAdministrator.m2repositoryorghibernatevalidatorhibernate-validator6.0.18.Finalhibernate-validator-6.0.18.Final.jar;C:UsersAdministrator.m2repositoryorgjbossloggingjboss-logging3.4.1.Finaljboss-logging-3.4.1.Final.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-web5.2.3.RELEASEspring-web-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-webmvc5.2.3.RELEASEspring-webmvc-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-expression5.2.3.RELEASEspring-expression-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-aop2.2.4.RELEASEspring-boot-starter-aop-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-aop5.2.3.RELEASEspring-aop-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgaspectjaspectjweaver1.9.5aspectjweaver-1.9.5.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-context-support5.2.3.RELEASEspring-context-support-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-beans5.2.3.RELEASEspring-beans-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-context5.2.3.RELEASEspring-context-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-data-redis2.2.4.RELEASEspring-boot-starter-data-redis-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkdataspring-data-redis2.2.4.RELEASEspring-data-redis-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkdataspring-data-keyvalue2.2.4.RELEASEspring-data-keyvalue-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkdataspring-data-commons2.2.4.RELEASEspring-data-commons-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-tx5.2.3.RELEASEspring-tx-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-oxm5.2.3.RELEASEspring-oxm-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositoryiolettucelettuce-core5.2.1.RELEASElettuce-core-5.2.1.RELEASE.jar;C:UsersAdministrator.m2repositoryionettynetty-common4.1.45.Finalnetty-common-4.1.45.Final.jar;C:UsersAdministrator.m2repositoryionettynetty-handler4.1.45.Finalnetty-handler-4.1.45.Final.jar;C:UsersAdministrator.m2repositoryionettynetty-buffer4.1.45.Finalnetty-buffer-4.1.45.Final.jar;C:UsersAdministrator.m2repositoryionettynetty-codec4.1.45.Finalnetty-codec-4.1.45.Final.jar;C:UsersAdministrator.m2repositoryionettynetty-transport4.1.45.Finalnetty-transport-4.1.45.Final.jar;C:UsersAdministrator.m2repositoryionettynetty-resolver4.1.45.Finalnetty-resolver-4.1.45.Final.jar;C:UsersAdministrator.m2repositoryioprojectreactorreactor-core3.3.2.RELEASEreactor-core-3.3.2.RELEASE.jar;C:UsersAdministrator.m2repositoryorgreactivestreamsreactive-streams1.0.3reactive-streams-1.0.3.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-configuration-processor2.2.4.RELEASEspring-boot-configuration-processor-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositorycombaomidoumybatis-plus-boot-starter3.3.1mybatis-plus-boot-starter-3.3.1.jar;C:UsersAdministrator.m2repositorycombaomidoumybatis-plus3.3.1mybatis-plus-3.3.1.jar;C:UsersAdministrator.m2repositorycombaomidoumybatis-plus-extension3.3.1mybatis-plus-extension-3.3.1.jar;C:UsersAdministrator.m2repositorycombaomidoumybatis-plus-core3.3.1mybatis-plus-core-3.3.1.jar;C:UsersAdministrator.m2repositorycombaomidoumybatis-plus-annotation3.3.1mybatis-plus-annotation-3.3.1.jar;C:UsersAdministrator.m2repositorycomgithubjsqlparserjsqlparser3.1jsqlparser-3.1.jar;C:UsersAdministrator.m2repositoryorgmybatismybatis3.5.3mybatis-3.5.3.jar;C:UsersAdministrator.m2repositoryorgmybatismybatis-spring2.0.3mybatis-spring-2.0.3.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-autoconfigure2.2.4.RELEASEspring-boot-autoconfigure-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkbootspring-boot-starter-jdbc2.2.4.RELEASEspring-boot-starter-jdbc-2.2.4.RELEASE.jar;C:UsersAdministrator.m2repositorycomzaxxerHikariCP3.4.2HikariCP-3.4.2.jar;C:UsersAdministrator.m2repositoryorgspringframeworkspring-jdbc5.2.3.RELEASEspring-jdbc-5.2.3.RELEASE.jar;C:UsersAdministrator.m2repositorymysqlmysql-connector-java8.0.17mysql-connector-java-8.0.17.jar;C:UsersAdministrator.m2repositorycomoracleojdbc611.2.0.3ojdbc6-11.2.0.3.jar;C:UsersAdministrator.m2repositorycommicrosoftsqlserversqljdbc44.0sqljdbc4-4.0.jar;C:UsersAdministrator.m2repositoryorgpostgresqlpostgresql42.2.9postgresql-42.2.9.jar;C:UsersAdministrator.m2repositorycomalibabadruid-spring-boot-starter1.1.13druid-spring-boot-starter-1.1.13.jar;C:UsersAdministrator.m2repositorycomalibabadruid1.1.13druid-1.1.13.jar;C:UsersAdministrator.m2repositoryorgquartz-schedulerquartz2.3.0quartz-2.3.0.jar;C:UsersAdministrator.m2repositorycommchangemchange-commons-java .2.11mchange-commons-java-0.2.11.jar;C:UsersAdministrator.m2repositorycommons-langcommons-lang2.6commons-lang-2.6.jar;C:UsersAdministrator.m2repositorycommons-fileuploadcommons-fileupload1.2.2commons-fileupload-1.2.2.jar;C:UsersAdministrator.m2repositorycommons-iocommons-io2.5commons-io-2.5.jar;C:UsersAdministrator.m2repositorycommons-codeccommons-codec1.10commons-codec-1.10.jar;C:UsersAdministrator.m2repositorycommons-configurationcommons-configuration1.10commons-configuration-1.10.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-core1.4.0shiro-core-1.4.0.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-lang1.4.0shiro-lang-1.4.0.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-cache1.4.0shiro-cache-1.4.0.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-crypto-hash1.4.0shiro-crypto-hash-1.4.0.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-crypto-core1.4.0shiro-crypto-core-1.4.0.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-crypto-cipher1.4.0shiro-crypto-cipher-1.4.0.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-config-core1.4.0shiro-config-core-1.4.0.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-config-ogdl1.4.0shiro-config-ogdl-1.4.0.jar;C:UsersAdministrator.m2repositorycommons-beanutilscommons-beanutils1.9.3commons-beanutils-1.9.3.jar;C:UsersAdministrator.m2repositorycommons-collectionscommons-collections3.2.2commons-collections-3.2.2.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-event1.4.0shiro-event-1.4.0.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-spring1.4.0shiro-spring-1.4.0.jar;C:UsersAdministrator.m2repositoryorgapacheshiroshiro-web1.4.0shiro-web-1.4.0.jar;C:UsersAdministrator.m2repositoryiojsonwebtokenjjwt .7.0jjwt-0.7.0.jar;C:UsersAdministrator.m2repositorycomfasterxmljacksoncorejackson-databind2.10.2jackson-databind-2.10.2.jar;C:UsersAdministrator.m2repositorycomgithubaxetkaptcha .0.9kaptcha-0.0.9.jar;C:UsersAdministrator.m2repositorycomjhlabsfilters2.0.235filters-2.0.235.jar;C:UsersAdministrator.m2repositoryiospringfoxspringfox-swagger22.7.0springfox-swagger2-2.7.0.jar;C:UsersAdministrator.m2repositoryioswaggerswagger-annotations1.5.13swagger-annotations-1.5.13.jar;C:UsersAdministrator.m2repositoryioswaggerswagger-models1.5.13swagger-models-1.5.13.jar;C:UsersAdministrator.m2repositoryiospringfoxspringfox-spi2.7.0springfox-spi-2.7.0.jar;C:UsersAdministrator.m2repositoryiospringfoxspringfox-core2.7.0springfox-core-2.7.0.jar;C:UsersAdministrator.m2repositoryiospringfoxspringfox-schema2.7.0springfox-schema-2.7.0.jar;C:UsersAdministrator.m2repositoryiospringfoxspringfox-swagger-common2.7.0springfox-swagger-common-2.7.0.jar;C:UsersAdministrator.m2repositoryiospringfoxspringfox-spring-web2.7.0springfox-spring-web-2.7.0.jar;C:UsersAdministrator.m2repositoryorgreflectionsreflections .9.11reflections-0.9.11.jar;C:UsersAdministrator.m2repositoryorgjavassistjavassist3.21.0-GAjavassist-3.21.0-GA.jar;C:UsersAdministrator.m2repositorycomgoogleguavaguava18.0guava-18.0.jar;C:UsersAdministrator.m2repositorycomfasterxmlclassmate1.5.1classmate-1.5.1.jar;C:UsersAdministrator.m2repositoryorgspringframeworkpluginspring-plugin-core1.2.0.RELEASEspring-plugin-core-1.2.0.RELEASE.jar;C:UsersAdministrator.m2repositoryorgspringframeworkpluginspring-plugin-metadata1.2.0.RELEASEspring-plugin-metadata-1.2.0.RELEASE.jar;C:UsersAdministrator.m2repositoryorgmapstructmapstruct1.1.0.Finalmapstruct-1.1.0.Final.jar;C:UsersAdministrator.m2repositoryiospringfoxspringfox-swagger-ui2.7.0springfox-swagger-ui-2.7.0.jar;C:UsersAdministrator.m2repositorycomqiniuqiniu-java-sdk7.2.23qiniu-java-sdk-7.2.23.jar;C:UsersAdministrator.m2repositorycomsquareupokhttp3okhttp3.14.6okhttp-3.14.6.jar;C:UsersAdministrator.m2repositorycomsquareupokiookio1.17.2okio-1.17.2.jar;C:UsersAdministrator.m2repositorycomaliyunossaliyun-sdk-oss2.8.3aliyun-sdk-oss-2.8.3.jar;C:UsersAdministrator.m2repositoryorgapachehttpcomponentshttpclient4.5.10httpclient-4.5.10.jar;C:UsersAdministrator.m2repositoryorgjdomjdom1.1jdom-1.1.jar;C:UsersAdministrator.m2repositorycomqcloudcos_api4.4cos_api-4.4.jar;C:UsersAdministrator.m2repositoryorgapachehttpcomponentshttpcore4.4.13httpcore-4.4.13.jar;C:UsersAdministrator.m2repositoryorgapachehttpcomponentshttpmime4.5.10httpmime-4.5.10.jar;C:UsersAdministrator.m2repositoryorgjsonjson20140107json-20140107.jar;C:UsersAdministrator.m2repositoryjunitjunit4.12junit-4.12.jar;C:UsersAdministrator.m2repositoryorghamcresthamcrest-core2.1hamcrest-core-2.1.jar;C:UsersAdministrator.m2repositoryjoda-timejoda-time2.9.9joda-time-2.9.9.jar;C:UsersAdministrator.m2repositorycomgooglecodegsongson2.8.5gson-2.8.5.jar;C:UsersAdministrator.m2repositorycomalibabafastjson1.2.72fastjson-1.2.72.jar;C:UsersAdministrator.m2repositorycnhutoolhutool-all4.1.1hutool-all-4.1.1.jar;C:UsersAdministrator.m2repositoryorgprojectlomboklombok1.18.4lombok-1.18.4.jar;C:UsersAdministrator.m2repositoryiominiominio8.0.3minio-8.0.3.jar;C:UsersAdministrator.m2repositorycomcarrotsearchthirdpartysimple-xml-safe2.7.1simple-xml-safe-2.7.1.jar;C:UsersAdministrator.m2repositorycomfasterxmljacksoncorejackson-annotations2.10.2jackson-annotations-2.10.2.jar;C:UsersAdministrator.m2repositorycomfasterxmljacksoncorejackson-core2.10.2jackson-core-2.10.2.jar;D:Program Files (x86)JetBrainsIntelliJ IDEA 2016.3.6libidea_rt.jar" com.intellij.rt.execution.application.AppMain com.railway.modules.base.test.TestStudent----------学生管理系统--------------------1.查询学生信息------------------2.添加学生信息------------------3.删除学生信息------------------4.修改学生信息------------------5.输入你的选择---------1对不起,没有学生信息请重新选择----------学生管理系统--------------------1.查询学生信息------------------2.添加学生信息------------------3.删除学生信息------------------4.修改学生信息------------------5.输入你的选择---------2请输入你的学号1请输入你的姓名2请输入你的年龄3请输入你的地址4添加成功----------学生管理系统--------------------1.查询学生信息------------------2.添加学生信息------------------3.删除学生信息------------------4.修改学生信息------------------5.输入你的选择---------
以上就是Java实现学生管理系统(控制台版本)的详细内容,更多关于Java学生管理系统的资料请关注盛行IT其它相关文章!
郑重声明:本文由网友发布,不代表盛行IT的观点,版权归原作者所有,仅为传播更多信息之目的,如有侵权请联系,我们将第一时间修改或删除,多谢。