编辑代码

public class Student {
    int stuld;
    String name;
    float score;
    Student(int stuld,String name,float score)
    {
        this.stuld=stuld;
        this.name=name;
        this.score=score;
    }
    void outPut()
    {
        System.out.println("学号:"+this.stuld+"姓名:"+this.Name+"   成绩:"+this.score+);
    }
    
    
    public static void main(String[] getter){
        Student Student3=new Student(3"William",65);
        Student3.outPut();
        
        Student Student1=new Student(1"Tom",87);
        Student1.outPut();
        
        Student Student2=new Student(2"Lucy",95);
        Student2.outPut();
        
        
    }
}