持续发明,加快成长!这是我参与「日新计划 6 月更文应战」的第16天,点击查看活动概况
前语介绍:
最近许多同学找我帮忙做一些课程设计或Web前端大github永久回家地spring漏洞址作业、其间控制台项目应该是mybatis工作原理初学websockets在线检验者前端是什么工作必须阅历的一个进程、作为java初学者这个控制台版其他mysql索引学生信息处理系统十分适宜、用到的技能也是最简略的JavaList集结、变量的声明、方针的创建、一些基本的while句子、switspring面试题ch句子、循环mysql数据库基础知识遍历等基础json文件是干什么的语法。一个最mybgithub永久回家地址atis怎样读基mybatisplus础版其他控制台学生处理系统也就是CRUD功用、 直接上完好代application码****
创建学生类Student
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;
}
main方法完成CRUD
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;
}
}
}
批改方法json是什么意思:
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.输入你的选择---------
很json基础、合适java初学者来进行操练以及作为课程spring翻译作业来运用