package myCode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Student {
private String id;
private String name;
private int mathScore;
private int englishScore;
private int programScore;
private int databaseScore;
private double SumScore;
private double AverageScore;
public double getSumScore(){
//返回四门成绩总和
return mathScore+englishScore+programScore+databaseScore;
}
public double getAverageScore() {
//返回四门成绩平均值
return getSumScore()/4;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
学生成绩管理系统(简易版).zip (38个子文件)
Lab2Project - 副本
pom.xml 1KB
src
main
resources
java
myCode
Student.java 686B
webapp
showModifyScore.jsp 2KB
footer.jsp 787B
WEB-INF
web.xml 222B
showScore.jsp 3KB
index.jsp 2KB
deleteScore.jsp 4KB
showAllScore.jsp 3KB
header.jsp 1KB
modifyScore.jsp 2KB
selectResultPage.jsp 4KB
modifyResultPage.jsp 4KB
selectScore.jsp 2KB
.idea
jarRepositories.xml 887B
workspace.xml 8KB
misc.xml 671B
compiler.xml 544B
.gitignore 184B
encodings.xml 267B
target
classes
myCode
Student.class 4KB
JavawebLab1
showModifyScore.jsp 2KB
footer.jsp 787B
WEB-INF
classes
myCode
Student.class 4KB
lib
protobuf-java-3.11.4.jar 1.58MB
mysql-connector-java-8.0.23.jar 2.3MB
web.xml 222B
showScore.jsp 3KB
index.jsp 2KB
deleteScore.jsp 4KB
showAllScore.jsp 3KB
header.jsp 1KB
modifyScore.jsp 2KB
selectResultPage.jsp 4KB
modifyResultPage.jsp 4KB
META-INF
MANIFEST.MF 91B
selectScore.jsp 2KB
JavawebLab1.war 3.68MB
generated-sources
annotations
共 38 条
- 1
资源评论
L..P
- 粉丝: 15
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功