<em>Mac</em>Book项目 2009年学校开始实施<em>Mac</em>Book项目,所有师生配备一本<em>Mac</em>Book,并同步更新了校园无线网络。学校每周进行电脑技术更新,每月发送技术支持资料,极大改变了教学及学习方式。因此2011
2021-06-01 09:32:01
最近很多同學找我幫忙做一些課程設計或Web前端大作業、其中控制檯專案應該是初學者必須經歷的一個過程、作為java初學者這個控制檯版本的學生資訊管理系統十分合適、用到的技術也是最簡單的JavaList集合、變數的宣告、物件的建立、一些基本的while語句、switch語句、迴圈遍歷等基礎語法。一個最基礎版本的控制檯學生管理系統也就是CRUD功能、 直接上完整程式碼
public class Student { private String id; private String name; private String arg; private String address; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getArg() { return arg; } public void setArg(String arg) { this.arg = arg; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; }
package com.railway.modules.base.test; import java.util.ArrayList; import java.util.Scanner; public class TestStudent { public static void main(String[] args) { ArrayList<Student> array = new ArrayList<Student>(); while (true) { System.out.println("----------學生管理系統-----------"); System.out.println("---------1.查詢學生資訊---------"); System.out.println("---------2.新增學生資訊---------"); System.out.println("---------3.刪除學生資訊---------"); System.out.println("---------4.修改學生資訊---------"); System.out.println("---------5.輸入你的選擇---------"); Scanner input = new Scanner(System.in); int a = input.nextInt(); switch (a) { case 1: findAllStudent(array); break; case 2: addStudent(array); break; case 3: deleteStudent(array); break; case 4: updateStudent(array); break; case 5: default: System.out.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學生管理系統的資料請關注it145.com其它相關文章!
相關文章
<em>Mac</em>Book项目 2009年学校开始实施<em>Mac</em>Book项目,所有师生配备一本<em>Mac</em>Book,并同步更新了校园无线网络。学校每周进行电脑技术更新,每月发送技术支持资料,极大改变了教学及学习方式。因此2011
2021-06-01 09:32:01
综合看Anker超能充系列的性价比很高,并且与不仅和iPhone12/苹果<em>Mac</em>Book很配,而且适合多设备充电需求的日常使用或差旅场景,不管是安卓还是Switch同样也能用得上它,希望这次分享能给准备购入充电器的小伙伴们有所
2021-06-01 09:31:42
除了L4WUDU与吴亦凡已经多次共事,成为了明面上的厂牌成员,吴亦凡还曾带领20XXCLUB全队参加2020年的一场音乐节,这也是20XXCLUB首次全员合照,王嗣尧Turbo、陈彦希Regi、<em>Mac</em> Ova Seas、林渝植等人全部出场。然而让
2021-06-01 09:31:34
目前应用IPFS的机构:1 谷歌<em>浏览器</em>支持IPFS分布式协议 2 万维网 (历史档案博物馆)数据库 3 火狐<em>浏览器</em>支持 IPFS分布式协议 4 EOS 等数字货币数据存储 5 美国国会图书馆,历史资料永久保存在 IPFS 6 加
2021-06-01 09:31:24
开拓者的车机是兼容苹果和<em>安卓</em>,虽然我不怎么用,但确实兼顾了我家人的很多需求:副驾的门板还配有解锁开关,有的时候老婆开车,下车的时候偶尔会忘记解锁,我在副驾驶可以自己开门:第二排设计很好,不仅配置了一个很大的
2021-06-01 09:30:48
不仅是<em>安卓</em>手机,苹果手机的降价力度也是前所未有了,iPhone12也“跳水价”了,发布价是6799元,如今已经跌至5308元,降价幅度超过1400元,最新定价确认了。iPhone12是苹果首款5G手机,同时也是全球首款5nm芯片的智能机,它
2021-06-01 09:30:45