展开全部
学生类:
public class Student
{
private String stuId;
private String name;
private String gender;
private float javaScore;
private float sqlScore;
private float cScore;
private float htmlScore;
private float avgScore;
private float sumScore;
public Student(){};
public Student(String stuId, String name, String gender,float javaScore,float sqlScore,
float cScore, float htmlScore)
{
this.stuId = stuId;
this.name = name;
this.gender = gender;
this.javaScore = javaScore;
this.sqlScore = sqlScore;
this.cScore = cScore;
this.htmlScore = htmlScore;
}
public float getSumScore(float javaScore,float sqlScore,
float cScore, float htmlScore)
{
return javaSco